Changeset 5693 for DASISH


Ignore:
Timestamp:
10/06/14 14:45:21 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Fixing typo in cached rpresentation related elements: sh --> ch

Location:
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/pom.xml

    r5690 r5693  
    55    <groupId>eu.dasish.annotation</groupId>
    66    <artifactId>annotator-backend</artifactId>
    7     <version>${project.version}</version>   
     7    <version>1.5.3</version>   
    88    <packaging>war</packaging>
    99    <name>annotator-backend Jersey Webapp</name>
     
    400400        <netbeans.hint.license>gpl20</netbeans.hint.license> 
    401401        <plugin.license.copyrightYear>2013</plugin.license.copyrightYear>
    402         <project.version>1.5.2</project.version>
    403402        <shibboleth.version>1.0.4</shibboleth.version>
    404         <surefire.version>2.9</surefire.version>
    405403    </properties>
    406404   
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/CachedRepresentationResource.java

    r5679 r5693  
    7373            CachedRepresentationInfo result = (CachedRepresentationInfo) (new RequestWrappers(this)).wrapRequestResource(params, new GetCachedRepresentationInfo(), Resource.CACHED_REPRESENTATION, ResourceAction.READ, externalId);
    7474            if (result != null) {
    75                 return (new ObjectFactory()).createCashedRepresentationInfo(result);
    76             } else {
    77                 return (new ObjectFactory()).createCashedRepresentationInfo(new CachedRepresentationInfo());
    78             }
    79         } catch (NotInDataBaseException e1) {
    80             httpServletResponse.sendError(HttpServletResponse.SC_NOT_FOUND, e1.getMessage());
    81             return new ObjectFactory().createCashedRepresentationInfo(new CachedRepresentationInfo());
    82         } catch (ForbiddenException e2) {
    83             httpServletResponse.sendError(HttpServletResponse.SC_FORBIDDEN, e2.getMessage());
    84             return new ObjectFactory().createCashedRepresentationInfo(new CachedRepresentationInfo());
     75                return (new ObjectFactory()).createCachedRepresentationInfo(result);
     76            } else {
     77                return (new ObjectFactory()).createCachedRepresentationInfo(new CachedRepresentationInfo());
     78            }
     79        } catch (NotInDataBaseException e1) {
     80            httpServletResponse.sendError(HttpServletResponse.SC_NOT_FOUND, e1.getMessage());
     81            return new ObjectFactory().createCachedRepresentationInfo(new CachedRepresentationInfo());
     82        } catch (ForbiddenException e2) {
     83            httpServletResponse.sendError(HttpServletResponse.SC_FORBIDDEN, e2.getMessage());
     84            return new ObjectFactory().createCachedRepresentationInfo(new CachedRepresentationInfo());
    8585        }
    8686    }
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/TargetResource.java

    r5679 r5693  
    155155            CachedRepresentationInfo result = (CachedRepresentationInfo) (new RequestWrappers(this)).wrapRequestResource(params, new PostCached(), Resource.TARGET, ResourceAction.WRITE_W_METAINFO, targetIdentifier);
    156156            if (result != null) {
    157                 return new ObjectFactory().createCashedRepresentationInfo(result);
     157                return new ObjectFactory().createCachedRepresentationInfo(result);
    158158            } else {
    159                 return new ObjectFactory().createCashedRepresentationInfo(new CachedRepresentationInfo());
     159                return new ObjectFactory().createCachedRepresentationInfo(new CachedRepresentationInfo());
    160160            }
    161161        } catch (NotInDataBaseException e1) {
    162162            httpServletResponse.sendError(HttpServletResponse.SC_NOT_FOUND, e1.getMessage());
    163             return new ObjectFactory().createCashedRepresentationInfo(new CachedRepresentationInfo());
     163            return new ObjectFactory().createCachedRepresentationInfo(new CachedRepresentationInfo());
    164164        } catch (ForbiddenException e2) {
    165165            httpServletResponse.sendError(HttpServletResponse.SC_FORBIDDEN, e2.getMessage());
    166             return new ObjectFactory().createCashedRepresentationInfo(new CachedRepresentationInfo());
     166            return new ObjectFactory().createCachedRepresentationInfo(new CachedRepresentationInfo());
    167167        }
    168168    }
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/webapp/SCHEMA/DASISH-schema.xsd

    r5674 r5693  
    323323    <xs:element name="annotationList" type="dasish:ReferenceList"/>
    324324
    325     <xs:element name="cashedRepresentationInfo" type="dasish:CachedRepresentationInfo"/>
    326 
    327     <xs:element name="cashedRepresentationList" type="dasish:ReferenceList"/>
     325    <xs:element name="cachedRepresentationInfo" type="dasish:CachedRepresentationInfo"/>
     326
     327    <xs:element name="cachedRepresentationList" type="dasish:ReferenceList"/>
    328328   
    329329    <xs:element name="cachedRepresentationFragment" type="dasish:CachedRepresentationFragment"/>
Note: See TracChangeset for help on using the changeset viewer.