changed serial version id to default for WebServiceSystemException. Removed a system.out.println from a test.
This commit is contained in:
parent
4a852043b3
commit
b8d8244016
|
@ -23,7 +23,7 @@ package com.google.gson.webservice.definition;
|
|||
*/
|
||||
public class WebServiceSystemException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = -2511829073381716183L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public WebServiceSystemException(Exception cause) {
|
||||
super(cause);
|
||||
|
|
|
@ -55,7 +55,6 @@ public class IdTypeAdapterTest extends TestCase {
|
|||
|
||||
public void testSerializeId() {
|
||||
String json = gson.toJson(course, TYPE_COURSE_HISTORY);
|
||||
System.out.println(json);
|
||||
assertTrue(json.contains(String.valueOf(COURSE_ID.getValue())));
|
||||
assertTrue(json.contains(String.valueOf(STUDENT1_ID.getValue())));
|
||||
assertTrue(json.contains(String.valueOf(STUDENT2_ID.getValue())));
|
||||
|
|
Loading…
Reference in New Issue
Block a user