import java.sql.PreparedStatement;\r
import java.sql.ResultSet;\r
import java.sql.SQLException;\r
-import java.util.ArrayList;\r
import java.util.HashSet;\r
import java.util.List;\r
import java.util.Set;\r
\r
// Citations can be empty (null): Is it wrong data or just a normal case?\r
if (reference != null) {\r
- doCount(count++, modCount, pluralString);\r
\r
- // Lookup sourceFk by using getSourceFk()\r
+ // Lookup sourceFk\r
Integer sourceFk = getSourceFk(reference, state);\r
\r
if (sourceFk != null && ! state.alreadyProcessedSource(sourceFk)) {\r
+ doCount(count++, modCount, pluralString);\r
+ \r
// Add to processed sourceFk's since sourceFk's can be scanned more than once.\r
state.addToProcessedSources(sourceFk);\r
\r
* @return The <code>SourceFk</code> attribute.\r
* @see MethodMapper\r
*/\r
- @SuppressWarnings("unused")\r
private static Integer getSourceFk(AnnotatableEntity entity, PesiExportState state) {\r
Integer result = null;\r
if (state != null && entity != null && entity.isInstanceOf(ReferenceBase.class)) {\r
* @return The <code>SourceNameCache</code> attribute.\r
* @see MethodMapper\r
*/\r
- @SuppressWarnings("unused")\r
private static String getSourceNameCache(AnnotatableEntity entity) {\r
String result = null;\r
if (entity != null && entity.isInstanceOf(ReferenceBase.class)) {\r