@Test public void testGetShortName() { assertEquals("Ant", this.resolver.getShortName("Antoniades")); assertEquals("KJV", this.resolver.getShortName("KJV")); }
public String getShortName(final String longName) { final String shortName = this.longToShort.get(longName.toLowerCase()); if (isBlank(shortName)) { return longName; } return shortName; }
VersionResolver { public String getShortName(final String longName) { final String shortName = this.longToShort.get(longName.toLowerCase()); if (isBlank(shortName)) { return longName; } return shortName; } }
VersionResolver { public String getShortName(final String longName) { final String shortName = this.longToShort.get(longName.toLowerCase()); if (isBlank(shortName)) { return longName; } return shortName; } @Inject  VersionResolver(@Named("StepCoreProperties") final Properties stepProperties); }
VersionResolver { public String getShortName(final String longName) { final String shortName = this.longToShort.get(longName.toLowerCase()); if (isBlank(shortName)) { return longName; } return shortName; } @Inject  VersionResolver(@Named("StepCoreProperties") final Properties stepProperties); String getShortName(final String longName); String getLongName(final String shortName); boolean isSeptuagintTagging(final String initials); boolean isSeptuagintTagging(final Book b); }
VersionResolver { public String getShortName(final String longName) { final String shortName = this.longToShort.get(longName.toLowerCase()); if (isBlank(shortName)) { return longName; } return shortName; } @Inject  VersionResolver(@Named("StepCoreProperties") final Properties stepProperties); String getShortName(final String longName); String getLongName(final String shortName); boolean isSeptuagintTagging(final String initials); boolean isSeptuagintTagging(final Book b);  }