dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03016
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1012: Removed unused method
------------------------------------------------------------
revno: 1012
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-11-09 23:48:39 +0100
message:
Removed unused method
modified:
dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java
dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/I18nService.java
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/i18n/action/I18nAction.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-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java'
--- dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java 2009-11-09 22:14:51 +0000
+++ dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java 2009-11-09 22:48:39 +0000
@@ -210,7 +210,7 @@
}
// -------------------------------------------------------------------------
- // Internationalise
+ // Object
// -------------------------------------------------------------------------
public void addObject( Object object )
@@ -303,14 +303,6 @@
}
- public void verifyCollection( Collection<?> collection )
- {
- for ( Object object : collection )
- {
- verify( object );
- }
- }
-
public void removeObject( Object object )
{
if ( object != null )
=== modified file 'dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/I18nService.java'
--- dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/I18nService.java 2009-11-09 22:14:51 +0000
+++ dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/I18nService.java 2009-11-09 22:48:39 +0000
@@ -55,8 +55,6 @@
public void verify(Object object);
- public void verifyCollection( Collection<?> collection );
-
public void removeObject( Object object );
public void setToFallback( Object object );
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/i18n/action/I18nAction.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/i18n/action/I18nAction.java 2009-11-08 20:18:11 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/i18n/action/I18nAction.java 2009-11-09 22:48:39 +0000
@@ -160,8 +160,7 @@
translations = i18nService.getTranslations( className, Integer.parseInt( objectId ), getCurrentLocale() );
- referenceTranslations =
- i18nService.getTranslations( className, Integer.parseInt( objectId ), getCurrentRefLocale() );
+ referenceTranslations = i18nService.getTranslations( className, Integer.parseInt( objectId ), getCurrentRefLocale() );
/**
* Fill in empty strings for null values