dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #38645
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19681: minor fix
------------------------------------------------------------
revno: 19681
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-07-20 08:40:56 +0700
message:
minor fix
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/webmessage/WebMessage.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-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/webmessage/WebMessage.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/webmessage/WebMessage.java 2015-07-16 10:15:54 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/webmessage/WebMessage.java 2015-07-20 01:40:56 +0000
@@ -109,17 +109,17 @@
public boolean isOk()
{
- return WebMessageStatus.OK.equals( status );
+ return WebMessageStatus.OK == status;
}
public boolean isWarning()
{
- return WebMessageStatus.WARNING.equals( status );
+ return WebMessageStatus.WARNING == status;
}
public boolean isError()
{
- return WebMessageStatus.ERROR.equals( status );
+ return WebMessageStatus.ERROR == status;
}
// -------------------------------------------------------------------------