felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1527457 - in /felix/trunk/scrplugin: generator/changelog.txt generator/src/main/java/org/apache/felix/scrplugin/helper/IssueLog.java maven-scr-plugin/changelog.txt scrtask/changelog.txt
Date Mon, 30 Sep 2013 06:29:03 GMT
Author: cziegeler
Date: Mon Sep 30 06:29:03 2013
New Revision: 1527457

URL: http://svn.apache.org/r1527457
Log:
FELIX-4249 - Make the default error location 1,1 instead of 0,0. Apply patch from Robert Munteanu

Modified:
    felix/trunk/scrplugin/generator/changelog.txt
    felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/IssueLog.java
    felix/trunk/scrplugin/maven-scr-plugin/changelog.txt
    felix/trunk/scrplugin/scrtask/changelog.txt

Modified: felix/trunk/scrplugin/generator/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/generator/changelog.txt?rev=1527457&r1=1527456&r2=1527457&view=diff
==============================================================================
--- felix/trunk/scrplugin/generator/changelog.txt (original)
+++ felix/trunk/scrplugin/generator/changelog.txt Mon Sep 30 06:29:03 2013
@@ -1,5 +1,7 @@
 Changes from 1.8.2 to 1.8.0
 ---------------------------
+** Improvement
+    * [FELIX-4249] - Make the default error location 1,1 instead of 0,0
 ** Bug
     * [FELIX-4192] - SCR Generator fails with a NPE in case a class level Reference doesn't
define a referenceInterface
     * [FELIX-4010] - SCR Plugin aborts when scanning a Java 8 class file

Modified: felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/IssueLog.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/IssueLog.java?rev=1527457&r1=1527456&r2=1527457&view=diff
==============================================================================
--- felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/IssueLog.java
(original)
+++ felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/IssueLog.java
Mon Sep 30 06:29:03 2013
@@ -101,10 +101,10 @@ public class IssueLog {
     }
 
     private static class Entry {
-    	
-    	static final int LINE_NUMBER_UNKNOWN = 0; 
-    	static final int COLUMN_NUMBER_UNKNOWN = 0; 
-    	
+
+    	static final int LINE_NUMBER_UNKNOWN = 1;
+    	static final int COLUMN_NUMBER_UNKNOWN = 1;
+
         final String message;
         final String location;
         final int lineNumber;
@@ -120,8 +120,8 @@ public class IssueLog {
         	this.lineNumber = lineNumber;
         	this.columnNumber = columnNumber;
         }
-        
-        
+
+
         @Override
         public String toString() {
             return this.location + " [" + this.lineNumber+ "," + this.columnNumber+"] : "
+ this.message;

Modified: felix/trunk/scrplugin/maven-scr-plugin/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/maven-scr-plugin/changelog.txt?rev=1527457&r1=1527456&r2=1527457&view=diff
==============================================================================
--- felix/trunk/scrplugin/maven-scr-plugin/changelog.txt (original)
+++ felix/trunk/scrplugin/maven-scr-plugin/changelog.txt Mon Sep 30 06:29:03 2013
@@ -2,6 +2,7 @@ Changes from 1.15.0 to 1.14.0
 -----------------------------
 ** Improvements
     * [FELIX-4241] - Change default output directory for SCR annotations to ${project.build.directory}/classes

+    * [FELIX-4249] - Make the default error location 1,1 instead of 0,0
 ** Bug
     * [FELIX-4192] - SCR Generator fails with a NPE in case a class level Reference doesn't
define a referenceInterface
     * [FELIX-4010] - SCR Plugin aborts when scanning a Java 8 class file

Modified: felix/trunk/scrplugin/scrtask/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/scrtask/changelog.txt?rev=1527457&r1=1527456&r2=1527457&view=diff
==============================================================================
--- felix/trunk/scrplugin/scrtask/changelog.txt (original)
+++ felix/trunk/scrplugin/scrtask/changelog.txt Mon Sep 30 06:29:03 2013
@@ -1,5 +1,7 @@
 Changes from 1.9.0 to 1.8.0
 ---------------------------
+** Improvement
+    * [FELIX-4249] - Make the default error location 1,1 instead of 0,0
 ** Bug
     * [FELIX-4192] - SCR Generator fails with a NPE in case a class level Reference doesn't
define a referenceInterface
     * [FELIX-4010] - SCR Plugin aborts when scanning a Java 8 class file



Mime
View raw message