changed serial version id to default for WebServiceSystemException. Removed a system.out.println from a test.

This commit is contained in:
Inderjeet Singh 2010-11-02 17:52:47 +00:00
parent 4a852043b3
commit b8d8244016
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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())));