@Test public void makeTableName() { final String ryaInstance = "testInstance_"; final String pcjId = "2dda1b099d264f16b1da8f9409c104d3"; final PcjTableNameFactory factory = new PcjTableNameFactory(); final String tableName = factory.makeTableName(ryaInstance, pcjId); assertEquals("testInstance_INDEX_2dda1b099d264f16b1da8f9409c104d3", tableName); }
public String makeTableName(final String ryaInstance, final String pcjId) { requireNonNull(ryaInstance); requireNonNull(pcjId); return ryaInstance + "INDEX_" + pcjId.toString().replaceAll("-", ""); }
PcjTableNameFactory { public String makeTableName(final String ryaInstance, final String pcjId) { requireNonNull(ryaInstance); requireNonNull(pcjId); return ryaInstance + "INDEX_" + pcjId.toString().replaceAll("-", ""); } }
PcjTableNameFactory { public String makeTableName(final String ryaInstance, final String pcjId) { requireNonNull(ryaInstance); requireNonNull(pcjId); return ryaInstance + "INDEX_" + pcjId.toString().replaceAll("-", ""); }  }
PcjTableNameFactory { public String makeTableName(final String ryaInstance, final String pcjId) { requireNonNull(ryaInstance); requireNonNull(pcjId); return ryaInstance + "INDEX_" + pcjId.toString().replaceAll("-", ""); }  String makeTableName(final String ryaInstance, final String pcjId); String getPcjId(final String pcjTableName); }
PcjTableNameFactory { public String makeTableName(final String ryaInstance, final String pcjId) { requireNonNull(ryaInstance); requireNonNull(pcjId); return ryaInstance + "INDEX_" + pcjId.toString().replaceAll("-", ""); }  String makeTableName(final String ryaInstance, final String pcjId); String getPcjId(final String pcjTableName);  }