You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.springframework.jms/src/main/java/org/springframework/jms/support/converter/MarshallingMessageConverter.java
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2010 the original author or authors.
2
+
* Copyright 2002-2011 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -57,10 +57,11 @@ public class MarshallingMessageConverter implements MessageConverter, Initializi
57
57
58
58
privateMessageTypetargetType = MessageType.BYTES;
59
59
60
+
60
61
/**
61
-
* Construct a new <code>MarshallingMessageConverter</code> with no {@link Marshaller} or {@link Unmarshaller} set.
62
-
* The marshaller must be set after construction by invoking {@link #setMarshaller(Marshaller)} and
63
-
* {@link #setUnmarshaller(Unmarshaller)} .
62
+
* Construct a new <code>MarshallingMessageConverter</code> with no {@link Marshaller}
63
+
* or {@link Unmarshaller} set. The marshaller must be set after construction by invoking
64
+
* {@link #setMarshaller(Marshaller)} and {@link #setUnmarshaller(Unmarshaller)} .
64
65
*/
65
66
publicMarshallingMessageConverter() {
66
67
}
@@ -80,7 +81,7 @@ public MarshallingMessageConverter(Marshaller marshaller) {
80
81
if (!(marshallerinstanceofUnmarshaller)) {
81
82
thrownewIllegalArgumentException(
82
83
"Marshaller [" + marshaller + "] does not implement the Unmarshaller " +
83
-
"interface. Please set an Unmarshaller explicitely by using the " +
84
+
"interface. Please set an Unmarshaller explicitly by using the " +
Copy file name to clipboardExpand all lines: org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/view/json/MappingJacksonJsonView.java
+45-42Lines changed: 45 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2010 the original author or authors.
2
+
* Copyright 2002-2011 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments