Author: andrew.plotnikov
Date: 2012-01-26 09:42:57 -0500 (Thu, 26 Jan 2012)
New Revision: 5527
Modified:
core/branches/2.5.x/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/diff/DeltaImpl.java
core/branches/2.5.x/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/j2ee/JbossLoginModule.java
Log:
EXOJCR-1725: Fixed the Blocker/Critical violations and the easiest Major ones raised by
eXo Quality Level 1.2
Modified:
core/branches/2.5.x/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/diff/DeltaImpl.java
===================================================================
---
core/branches/2.5.x/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/diff/DeltaImpl.java 2012-01-26
13:41:10 UTC (rev 5526)
+++
core/branches/2.5.x/exo.core.component.document/src/main/java/org/exoplatform/services/document/impl/diff/DeltaImpl.java 2012-01-26
14:42:57 UTC (rev 5527)
@@ -75,10 +75,18 @@
}
catch (InstantiationException e)
{
+ if (LOG.isTraceEnabled())
+ {
+ LOG.trace("An exception occurred: " + e.getMessage());
+ }
return null;
}
catch (IllegalAccessException e)
{
+ if (LOG.isTraceEnabled())
+ {
+ LOG.trace("An exception occurred: " + e.getMessage());
+ }
return null;
}
result.init(orig, rev);
Modified:
core/branches/2.5.x/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/j2ee/JbossLoginModule.java
===================================================================
---
core/branches/2.5.x/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/j2ee/JbossLoginModule.java 2012-01-26
13:41:10 UTC (rev 5526)
+++
core/branches/2.5.x/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/j2ee/JbossLoginModule.java 2012-01-26
14:42:57 UTC (rev 5527)
@@ -47,7 +47,7 @@
public class JbossLoginModule extends DefaultLoginModule
{
/** . */
- protected static final Log LOG =
ExoLogger.getLogger("exo.core.component.security.core.JbossLoginModule.class");
+ protected static final Log LOG =
ExoLogger.getLogger("exo.core.component.security.core.JbossLoginModule");
/**
* {@inheritDoc}