diff options
author | donald.g.dunne | 2015-12-23 19:54:49 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2015-12-23 19:54:49 +0000 |
commit | 82b1c027fa407dcdeaae4676c91681e3cdd9fa6c (patch) | |
tree | 2c235ec876df29269b683ed69ecf2ef432375ec9 /plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model | |
parent | ad0d071519a7e37e8d6f81906c4c9690a3de3a31 (diff) | |
download | org.eclipse.osee-82b1c027fa407dcdeaae4676c91681e3cdd9fa6c.tar.gz org.eclipse.osee-82b1c027fa407dcdeaae4676c91681e3cdd9fa6c.tar.xz org.eclipse.osee-82b1c027fa407dcdeaae4676c91681e3cdd9fa6c.zip |
refinement: Re-Organize, Format and Cleanup source
Change-Id: I71e686df3d68f22622f492a8dc0c168b4adc5c4d
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model')
4 files changed, 18 insertions, 18 deletions
diff --git a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/Branch.java b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/Branch.java index a1fe15534a6..923b13ad868 100644 --- a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/Branch.java +++ b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/Branch.java @@ -128,7 +128,7 @@ public class Branch { public int hashCode() { final int prime = 31; int result = 1; - result = prime * result + (int) (branchUuid ^ (branchUuid >>> 32)); + result = prime * result + (int) (branchUuid ^ branchUuid >>> 32); return result; } diff --git a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/BranchEndpoint.java b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/BranchEndpoint.java index b4410e2a036..614190da965 100644 --- a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/BranchEndpoint.java +++ b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/BranchEndpoint.java @@ -52,14 +52,14 @@ public interface BranchEndpoint { @GET @Produces(MediaType.APPLICATION_JSON) List<Branch> getBranches(@DefaultValue("") @QueryParam("branchUuids") String branchUuids, // - @DefaultValue("") @QueryParam("branchTypes") String branchTypes, // - @DefaultValue("") @QueryParam("branchStates") String branchStates, // - @QueryParam("deleted") boolean deleted, // - @QueryParam("archived") boolean archived, // - @DefaultValue("") @QueryParam("nameEquals") String nameEquals, // - @DefaultValue("") @QueryParam("namePattern") String namePattern, // - @QueryParam("childOf") Long childOf, // - @QueryParam("ancestorOf") Long ancestorOf); + @DefaultValue("") @QueryParam("branchTypes") String branchTypes, // + @DefaultValue("") @QueryParam("branchStates") String branchStates, // + @QueryParam("deleted") boolean deleted, // + @QueryParam("archived") boolean archived, // + @DefaultValue("") @QueryParam("nameEquals") String nameEquals, // + @DefaultValue("") @QueryParam("namePattern") String namePattern, // + @QueryParam("childOf") Long childOf, // + @QueryParam("ancestorOf") Long ancestorOf); @GET @Path("baseline") diff --git a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/IndexerEndpoint.java b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/IndexerEndpoint.java index 88534a8a0c2..2e96aa93ced 100644 --- a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/IndexerEndpoint.java +++ b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/IndexerEndpoint.java @@ -29,7 +29,7 @@ public interface IndexerEndpoint { @PUT @Path("branches/{branch-uuids}") Response indexBranches(@PathParam("branch-uuids") String branchUuids, // - @DefaultValue("true") @QueryParam("missingItemsOnly") boolean missingItemsOnly); + @DefaultValue("true") @QueryParam("missingItemsOnly") boolean missingItemsOnly); @PUT @Path("resources") diff --git a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/ResourcesEndpoint.java b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/ResourcesEndpoint.java index 6ad4a2ac9fa..76ed87eb3ca 100644 --- a/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/ResourcesEndpoint.java +++ b/plugins/org.eclipse.osee.orcs.rest.model/src/org/eclipse/osee/orcs/rest/model/ResourcesEndpoint.java @@ -28,17 +28,17 @@ public interface ResourcesEndpoint { @GET Response getResource(@QueryParam("path") String path, // - @DefaultValue("false") @QueryParam("unzip") boolean decompressOnAquire, // - @DefaultValue("false") @QueryParam("zip") boolean compressOnAcquire); + @DefaultValue("false") @QueryParam("unzip") boolean decompressOnAquire, // + @DefaultValue("false") @QueryParam("zip") boolean compressOnAcquire); @POST @Path("{protocol}/{resourceId}") - Response saveResource(InputStream inputStream,// - @PathParam("protocol") String protocol, // - @PathParam("resourceId") String resourceId, // - @QueryParam("name") String resourceName, // - @DefaultValue("false") @QueryParam("overwrite") boolean overwriteAllowed, // - @DefaultValue("false") @QueryParam("compress") boolean compressOnSave); + Response saveResource(InputStream inputStream, // + @PathParam("protocol") String protocol, // + @PathParam("resourceId") String resourceId, // + @QueryParam("name") String resourceName, // + @DefaultValue("false") @QueryParam("overwrite") boolean overwriteAllowed, // + @DefaultValue("false") @QueryParam("compress") boolean compressOnSave); @DELETE Response deleteResource(@QueryParam("path") String path); |