mirror of https://github.com/apache/openjpa.git
remove @override annotations on methods which aren't overidden
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
795362f5ce
commit
037f99e480
|
@ -241,7 +241,6 @@ public interface Actions {//extends Comparable<Actions> {
|
||||||
targetName = getAttribute("to", "from");
|
targetName = getAttribute("to", "from");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Node run(Document targetDoc, Element source, Element current,
|
public Node run(Document targetDoc, Element source, Element current,
|
||||||
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
||||||
Element sourceNode = getElementByName(source, sourcetName, false);
|
Element sourceNode = getElementByName(source, sourcetName, false);
|
||||||
|
@ -373,7 +372,6 @@ public interface Actions {//extends Comparable<Actions> {
|
||||||
super(Code.IGNORE_ATTR, e);
|
super(Code.IGNORE_ATTR, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Node run(Document targetDoc, Element source, Element current,
|
public Node run(Document targetDoc, Element source, Element current,
|
||||||
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
||||||
consumedAttrs.add(original.getAttribute("name"));
|
consumedAttrs.add(original.getAttribute("name"));
|
||||||
|
@ -386,7 +384,6 @@ public interface Actions {//extends Comparable<Actions> {
|
||||||
super(Code.IGNORE_NODE, e);
|
super(Code.IGNORE_NODE, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Node run(Document targetDoc, Element source, Element current,
|
public Node run(Document targetDoc, Element source, Element current,
|
||||||
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
||||||
consumedElements.add(original.getAttribute("name"));
|
consumedElements.add(original.getAttribute("name"));
|
||||||
|
@ -410,7 +407,6 @@ public interface Actions {//extends Comparable<Actions> {
|
||||||
sourceAttrName = e.getAttribute("on");
|
sourceAttrName = e.getAttribute("on");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Node run(Document targetDoc, Element source, Element current,
|
public Node run(Document targetDoc, Element source, Element current,
|
||||||
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
||||||
Element forParent = targetDoc.createElement(targetName);
|
Element forParent = targetDoc.createElement(targetName);
|
||||||
|
@ -435,7 +431,6 @@ public interface Actions {//extends Comparable<Actions> {
|
||||||
super(Code.CUSTOM_NODE, e);
|
super(Code.CUSTOM_NODE, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Node run(Document targetDoc, Element source, Element current,
|
public Node run(Document targetDoc, Element source, Element current,
|
||||||
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
Collection<String> consumedAttrs, Collection<String> consumedElements) {
|
||||||
consumedAttrs.add("embed-xml");
|
consumedAttrs.add("embed-xml");
|
||||||
|
|
|
@ -206,7 +206,6 @@ public class Option<T> implements Comparable<Option<T>> {
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int compareTo(Option<T> o) {
|
public int compareTo(Option<T> o) {
|
||||||
if (isMandatory() && !o.isMandatory()) {
|
if (isMandatory() && !o.isMandatory()) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue