|
From: <rv...@us...> - 2012-02-01 21:33:40
|
Revision: 1035
http://treebase.svn.sourceforge.net/treebase/?rev=1035&view=rev
Author: rvos
Date: 2012-02-01 21:33:34 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
Removing unused local variable to suppress warning. Trivial commit.
Modified Paths:
--------------
trunk/treebase-core/src/main/java/org/cipres/treebase/domain/matrix/RowSegment.java
Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/matrix/RowSegment.java
===================================================================
--- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/matrix/RowSegment.java 2012-02-01 21:31:45 UTC (rev 1034)
+++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/matrix/RowSegment.java 2012-02-01 21:33:34 UTC (rev 1035)
@@ -444,8 +444,6 @@
Method getMethod = SpecimenLabel.class.getMethod("getCountry");
Column getColumn = getMethod.getAnnotation(Column.class);
- int length = getColumn.length();
-
if (pValues.get(i).length() > getColumn.length()) {
pValues.set(i, pValues.get(i).substring(0, getColumn.length()));
pExecution.addErrorMessage("The Country field was truncated due to its length");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|