Permalink
Browse files

Removed annotations which were not working

Somehow it worked fine to build the project with Ant, but when I built
it which Eclipse, these annotations caused errors ('cannot convert
NonNull to Annotation'). Removed them for now; to be investiated later.
  • Loading branch information...
1 parent 791440a commit 035f8cf21a6acf38b5c8492f0e6e183529d924f5 Martin Kleppmann committed Feb 28, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/fc/xml/xas/StartTag.java
@@ -107,7 +107,7 @@ public StartTag getContext () {
return parent;
}
- @NonNull
+ // @NonNull
public String getPrefix () {
return getPrefix(name.getNamespace());
}
@@ -130,7 +130,7 @@ public void addPrefix (String namespace, String prefix) {
insertPrefix(new PrefixNode(namespace, prefix));
}
- @NonNull
+ // @NonNull
public String getNamespace (String prefix) {
Verifier.checkNotNull(prefix);
String namespace = null;
@@ -145,7 +145,7 @@ public String getNamespace (String prefix) {
return namespace;
}
- @NonNull
+ // @NonNull
public String getPrefix (String namespace) {
Verifier.checkNotNull(namespace);
String prefix = null;

0 comments on commit 035f8cf

Please sign in to comment.