← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20611: Minor

 

------------------------------------------------------------
revno: 20611
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-10-09 23:48:42 +0200
message:
  Minor
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AddAppAction.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-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AddAppAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AddAppAction.java	2015-10-09 17:01:55 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AddAppAction.java	2015-10-09 21:48:42 +0000
@@ -141,12 +141,13 @@
                 
                 AppStatus appStatus = appManager.installApp( file, fileName, contextPath );
 
-                if(appStatus == AppStatus.NAMESPACE_TAKEN)
+                if ( appStatus == AppStatus.NAMESPACE_TAKEN )
                 {
                     message = i18n.getString( "appmanager_namespace_taken" );
                     log.warn( "Namespace in the app's manifest already taken." );
                     return FAILURE;
                 }
+                
                 message = i18n.getString( "appmanager_install_success" );
                 
                 return SUCCESS;