jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1209420 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/CommitInfo.java
Date Fri, 02 Dec 2011 11:37:48 GMT
Author: mduerig
Date: Fri Dec  2 11:37:48 2011
New Revision: 1209420

URL: http://svn.apache.org/viewvc?rev=1209420&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
- remove excessive logging

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/CommitInfo.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/CommitInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/CommitInfo.java?rev=1209420&r1=1209419&r2=1209420&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/CommitInfo.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/CommitInfo.java
Fri Dec  2 11:37:48 2011
@@ -19,16 +19,13 @@ public class CommitInfo {
 
     public static CommitInfo parse(String json) {
         if (json == null) {
-            IllegalArgumentException e = new IllegalArgumentException("null");
-            log.error(e.getMessage(), e);
-            throw e;
+            throw new IllegalArgumentException("null");
         }
 
         try {
             return new CommitInfo(FullJsonParser.parseObject(new UnescapingJsonTokenizer(json)));
         }
         catch (ParseException e) {
-            log.error(e.getMessage(), e);
             throw new IllegalArgumentException("Syntax error in JSON: " + json, e);
         }
     }



Mime
View raw message