aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/src
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-11-25 19:17:58 +0000
committeracolyer <acolyer>2005-11-25 19:17:58 +0000
commit6ba566c4ad0545ca44a00d569780d1bbad49e3f8 (patch)
tree1b0c5e63505255aa9be2c8f3832cc18a027f55bd /bridge/src
parent0715d5c3f0bcad4eabe3a11ecb4e7f8a4079fed3 (diff)
downloadaspectj-6ba566c4ad0545ca44a00d569780d1bbad49e3f8.tar.gz
aspectj-6ba566c4ad0545ca44a00d569780d1bbad49e3f8.zip
eliminating compilation warnings from bridge module...
Diffstat (limited to 'bridge/src')
-rw-r--r--bridge/src/org/aspectj/bridge/AbortException.java2
-rw-r--r--bridge/src/org/aspectj/bridge/SourceLocation.java4
-rw-r--r--bridge/src/org/aspectj/bridge/WeaveMessage.java4
-rw-r--r--bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java4
4 files changed, 10 insertions, 4 deletions
diff --git a/bridge/src/org/aspectj/bridge/AbortException.java b/bridge/src/org/aspectj/bridge/AbortException.java
index 13c63a030..9f008e63a 100644
--- a/bridge/src/org/aspectj/bridge/AbortException.java
+++ b/bridge/src/org/aspectj/bridge/AbortException.java
@@ -38,6 +38,8 @@ import java.util.ArrayList;
*/
public class AbortException extends RuntimeException { // XXX move porters out, handle proxy better
+ private static final long serialVersionUID = -7211791639898586417L;
+
private boolean isSilent = false;
/** used when message text is null */
diff --git a/bridge/src/org/aspectj/bridge/SourceLocation.java b/bridge/src/org/aspectj/bridge/SourceLocation.java
index 73b63f940..6f2cfb9c1 100644
--- a/bridge/src/org/aspectj/bridge/SourceLocation.java
+++ b/bridge/src/org/aspectj/bridge/SourceLocation.java
@@ -29,7 +29,9 @@ import org.aspectj.util.LangUtil;
*/
public class SourceLocation implements ISourceLocation, java.io.Serializable {
- /** used when SourceLocation is not available */
+ private static final long serialVersionUID = -5434765814401009794L;
+
+ /** used when SourceLocation is not available */
public static final ISourceLocation UNKNOWN
= new SourceLocation(ISourceLocation.NO_FILE, 0, 0, 0);
diff --git a/bridge/src/org/aspectj/bridge/WeaveMessage.java b/bridge/src/org/aspectj/bridge/WeaveMessage.java
index 122820d45..3be106b33 100644
--- a/bridge/src/org/aspectj/bridge/WeaveMessage.java
+++ b/bridge/src/org/aspectj/bridge/WeaveMessage.java
@@ -102,11 +102,11 @@ public class WeaveMessage extends Message {
public static class WeaveMessageKind {
- private int id;
+ //private int id;
private String message;
public WeaveMessageKind(int id,String message) {
- this.id = id;
+ //this.id = id;
this.message = message;
}
diff --git a/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java b/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java
index 8f7852eb0..2f13f85cf 100644
--- a/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java
+++ b/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java
@@ -98,7 +98,9 @@ public class PinpointingMessageHandler implements IMessageHandler {
}
private static class MessageIssued extends RuntimeException {
- public String getMessage() {
+ private static final long serialVersionUID = 1L;
+
+ public String getMessage() {
return "message issued...";
}
}