Changeset 365

Show
Ignore:
Timestamp:
09/02/08 10:40:42 (4 months ago)
Author:
arneke
Message:

Switched JSON and XML in if else statement

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/geowebcache/src/main/java/org/geowebcache/rest/TileLayerResource.java

    r362 r365  
    121121        } else { 
    122122            if(variant.getMediaType() == MediaType.APPLICATION_JSON) { 
     123                result = getJsonRepresentation(currentLayer); 
     124            } else { 
    123125                result = getXMLRepresentation(currentLayer); 
    124             } else { 
    125                 result = getJsonRepresentation(currentLayer); 
    126126            } 
    127127        }