[armedbear-cvs] r12035 - in trunk/abcl/src/org/armedbear/lisp/java: . awt swing

Alessio Stalla astalla at common-lisp.net
Thu Jul 9 21:12:16 UTC 2009


Author: astalla
Date: Thu Jul  9 17:12:13 2009
New Revision: 12035

Log:
Removed @Override annotations on methods directly implementing an interface -
it doesn't compile with Java 1.5.


Modified:
   trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java
   trunk/abcl/src/org/armedbear/lisp/java/awt/AwtDialogPromptStream.java
   trunk/abcl/src/org/armedbear/lisp/java/swing/SwingDialogPromptStream.java

Modified: trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/java/DialogPromptStream.java	Thu Jul  9 17:12:13 2009
@@ -24,12 +24,10 @@
 		private StringReader stringReader = null;
 		private int inputSize = 0;
 		
-		@Override
 		public void close() throws IOException {
 			closeDialog();
 		}
 
-		@Override
 		public int read(char[] cbuf, int off, int len) throws IOException {
 			if(stringReader == null) {
 				writtenSoFar.flush();

Modified: trunk/abcl/src/org/armedbear/lisp/java/awt/AwtDialogPromptStream.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/java/awt/AwtDialogPromptStream.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/java/awt/AwtDialogPromptStream.java	Thu Jul  9 17:12:13 2009
@@ -34,7 +34,6 @@
 		JButton okBtn = new JButton("Ok");
 		okBtn.addActionListener(new ActionListener() {
 
-			@Override
 			public void actionPerformed(ActionEvent e) {
 				synchronized(dialog) {
 					dialog.dispose();

Modified: trunk/abcl/src/org/armedbear/lisp/java/swing/SwingDialogPromptStream.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/java/swing/SwingDialogPromptStream.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/java/swing/SwingDialogPromptStream.java	Thu Jul  9 17:12:13 2009
@@ -34,7 +34,6 @@
 		JButton okBtn = new JButton("Ok");
 		okBtn.addActionListener(new ActionListener() {
 
-			@Override
 			public void actionPerformed(ActionEvent e) {
 				synchronized(dialog) {
 					dialog.dispose();




More information about the armedbear-cvs mailing list