cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1374268 - /cxf/trunk/bin/DoMerges.java
Date Fri, 17 Aug 2012 14:00:27 GMT
Author: dkulp
Date: Fri Aug 17 14:00:26 2012
New Revision: 1374268

URL: http://svn.apache.org/viewvc?rev=1374268&view=rev
Log:
Fix possible NPE

Modified:
    cxf/trunk/bin/DoMerges.java

Modified: cxf/trunk/bin/DoMerges.java
URL: http://svn.apache.org/viewvc/cxf/trunk/bin/DoMerges.java?rev=1374268&r1=1374267&r2=1374268&view=diff
==============================================================================
--- cxf/trunk/bin/DoMerges.java (original)
+++ cxf/trunk/bin/DoMerges.java Fri Aug 17 14:00:26 2012
@@ -844,6 +844,9 @@ public class DoMerges {
     }
 
     private static boolean checkAlreadyMerged(List<String[]> gitLogs, String[] logLines)
throws IOException {
+        if (gitLogs == null) {
+            return false;
+        }
         for (String[] f : gitLogs) {
             if (compareLogs(f, logLines)) {
                 return true;



Mime
View raw message