[exo-jcr-commits] exo-jcr SVN: r5350 - in ws/trunk: exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Dec 26 04:28:10 EST 2011
Author: andrew.plotnikov
Date: 2011-12-26 04:28:09 -0500 (Mon, 26 Dec 2011)
New Revision: 5350
Modified:
ws/trunk/exo.ws.commons/src/main/java/org/exoplatform/common/http/client/Cookie2.java
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java
Log:
EXOJCR-1687: Fixed new sonar violations in project
Modified: ws/trunk/exo.ws.commons/src/main/java/org/exoplatform/common/http/client/Cookie2.java
===================================================================
--- ws/trunk/exo.ws.commons/src/main/java/org/exoplatform/common/http/client/Cookie2.java 2011-12-23 15:33:44 UTC (rev 5349)
+++ ws/trunk/exo.ws.commons/src/main/java/org/exoplatform/common/http/client/Cookie2.java 2011-12-26 09:28:09 UTC (rev 5350)
@@ -463,7 +463,9 @@
String eff_host = con.getHost();
if (eff_host.indexOf('.') == -1)
- eff_host += ".local";
+ {
+ eff_host += ".local"; //NOSONAR
+ }
return ((domain.charAt(0) == '.' && eff_host.endsWith(domain) || domain.charAt(0) != '.'
&& eff_host.equals(domain))
Modified: ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java
===================================================================
--- ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java 2011-12-23 15:33:44 UTC (rev 5349)
+++ ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java 2011-12-26 09:28:09 UTC (rev 5350)
@@ -42,7 +42,7 @@
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import java.nio.charset.Charset;
-import java.nio.charset.UnsupportedCharsetException;
+import java.nio.charset.UnsupportedCharsetException; //NOSONAR
import java.security.PrivilegedAction;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
More information about the exo-jcr-commits
mailing list