Browse files

fix sources to java 5

  • Loading branch information...
1 parent 4ea317c commit c7c4bc981332981bb62f773744c62b18a42e95a0 @garcia-jj garcia-jj committed Nov 28, 2011
View
1 ...or-core/src/main/java/br/com/caelum/vraptor/serialization/xstream/XStreamBuilderImpl.java
@@ -73,7 +73,6 @@ public XStream jsonInstance() {
return configure(new VRaptorXStream(extractor, getHierarchicalStreamDriver()));
}
- @Override
public XStream configure(XStream xstream) {
converters.registerComponents(xstream);
return xstream;
View
1 vraptor-core/src/main/java/br/com/caelum/vraptor/util/test/MockSerializationResult.java
@@ -101,7 +101,6 @@ public MockSerializationResult(XStreamBuilder builder) {
if (view.isAssignableFrom(RepresentationResult.class)) {
this.serialization = new XStreamXMLSerialization(response, extractor, initializer, builder);
return view.cast(new DefaultRepresentationResult(new FormatResolver() {
- @Override
public String getAcceptFormat() {
return "xml";
}
View
3 vraptor-core/src/main/java/br/com/caelum/vraptor/validator/MessageConverter.java
@@ -30,12 +30,10 @@
@Component
public class MessageConverter implements Converter {
- @Override
public boolean canConvert(Class type) {
return Message.class.isAssignableFrom(type);
}
- @Override
public void marshal(Object val, HierarchicalStreamWriter writer, MarshallingContext context) {
Message message = (Message) val;
writer.startNode("message");
@@ -47,7 +45,6 @@ public void marshal(Object val, HierarchicalStreamWriter writer, MarshallingCont
writer.endNode();
}
- @Override
public Object unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) {
return null;
View
1 vraptor-core/src/test/java/br/com/caelum/vraptor/proxy/CglibProxifierTest.java
@@ -100,7 +100,6 @@ public Object intercept(Object proxy, Method method, Object[] args, SuperMethod
public void testIfObjectIsProxy() {
Object realObject = new Object();
Object objectAsProxy = proxifier.proxify(Object.class, new MethodInvocation<Object>() {
- @Override
public Object intercept(Object proxy, Method method, Object[] args, SuperMethod superMethod) {
return null;
}
View
1 vraptor-core/src/test/java/br/com/caelum/vraptor/proxy/JavassistProxifierTest.java
@@ -100,7 +100,6 @@ public Object intercept(Object proxy, Method method, Object[] args, SuperMethod
public void testIfObjectIsProxy() {
Object realObject = new Object();
Object objectAsProxy = proxifier.proxify(Object.class, new MethodInvocation<Object>() {
- @Override
public Object intercept(Object proxy, Method method, Object[] args, SuperMethod superMethod) {
return null;
}

0 comments on commit c7c4bc9

Please sign in to comment.