Skip to content

Commit 6c998ba

Browse files
committed
---
yaml --- r: 1015 b: refs/heads/master c: 6bbfb05 h: refs/heads/master i: 1013: adbdbc1 1011: 7dfcd27 1007: b16e8a3 v: v3
1 parent e922d00 commit 6c998ba

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
refs/heads/master: 3e57ae795e3b3b0388f2515818d727a5e2b4abc9
2+
refs/heads/master: 6bbfb056baa6e69934b3171f541dec54996c8516
33
refs/heads/travis: 0fa997e2fc9c6b61b2d91e6d163655aae67d44b6
44
refs/heads/gh-pages: 5a10432ecc75f29812e33a8236c900379509fe99

trunk/gcloud-java-core/src/main/java/com/google/gcloud/ServiceOptions.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import java.io.IOException;
3535
import java.io.InputStream;
3636
import java.io.InputStreamReader;
37+
import java.io.ObjectStreamException;
3738
import java.io.Serializable;
3839
import java.lang.reflect.Method;
3940
import java.net.HttpURLConnection;
@@ -124,6 +125,10 @@ private static class DefaultClock extends ServiceOptions.Clock implements Serial
124125
public long millis() {
125126
return System.currentTimeMillis();
126127
}
128+
129+
private Object readResolve() throws ObjectStreamException {
130+
return DEFAULT_TIME_SOURCE;
131+
}
127132
}
128133
}
129134

0 commit comments

Comments
 (0)