dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14816
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5135: Minor fix
------------------------------------------------------------
revno: 5135
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-11-10 19:51:14 +0100
message:
Minor fix
modified:
dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/ValidateTableAction.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/ValidateTableAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/ValidateTableAction.java 2011-11-10 18:46:58 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/ValidateTableAction.java 2011-11-10 18:51:14 +0000
@@ -75,13 +75,6 @@
{
this.name = name;
}
-
- private String fileName;
-
- public void setUploadFileName( String fileName )
- {
- this.fileName = fileName;
- }
// -------------------------------------------------------------------------
// Output
@@ -127,13 +120,6 @@
}
}
- if ( id == null && ( fileName == null || fileName.trim().length() == 0 ) )
- {
- message = i18n.getString( "select_file" );
-
- return ERROR;
- }
-
message = i18n.getString( "ok" );
return SUCCESS;