Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ XStream getConfiguredXStream() {
// TODO: replace this with a more narrow whitelist
xs.allowTypesByWildcard(new String[] {"org.geowebcache.**"});

xs.setMode(XStream.NO_REFERENCES);
xs.setMode(XStream.ID_REFERENCES);

xs.alias("SpatialReference", SpatialReference.class);
xs.alias("TileOrigin", TileOrigin.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public ResolutionMismatchException(double wRes, double bestResolution) {
+ wRes
+ " , best match: "
+ bestResolution
+ " exceeds 10% threshold. Perhaps the client is configured "
+ " exceeds ALLOWED_RESOLUTION_THRESHOLD. Perhaps the client is configured "
+ " with an incorrect set of scales (resolutions), "
+ " or the DPI setting is off compared to the one in GWC ?");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void testMultipleListenersHearAdd() throws Exception {
this.config.addBlobStoreListener(listener1);
this.config.addBlobStoreListener(listener2);
BlobStoreInfo goodInfo = this.getGoodInfo("test", 1);
listener1.handleAddBlobStore(EasyMock.eq(goodInfo));
listener1.handleAddBlobStore(EasyMock.eq(goodInfo)); // No change, checking rest of file
EasyMock.expectLastCall().once();
listener2.handleAddBlobStore(EasyMock.eq(goodInfo));
EasyMock.expectLastCall().once();
Expand Down