Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r171 - branches/rest/java/ch/idok/service/server/search/rest

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r171 - branches/rest/java/ch/idok/service/server/search/rest


Chronological Thread 
  • From: "AFS account Roman Geus" <geus AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r171 - branches/rest/java/ch/idok/service/server/search/rest
  • Date: Tue, 12 Aug 2008 15:36:10 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: geus
Date: Tue Aug 12 15:36:10 2008
New Revision: 171

Log:
Reformatted RestSearchServiceResource.java using the Eclipse 3.4 formatter,
which treats annotations correctly


Modified:

branches/rest/java/ch/idok/service/server/search/rest/RestSearchServiceResource.java

Modified:
branches/rest/java/ch/idok/service/server/search/rest/RestSearchServiceResource.java
==============================================================================
---
branches/rest/java/ch/idok/service/server/search/rest/RestSearchServiceResource.java
(original)
+++
branches/rest/java/ch/idok/service/server/search/rest/RestSearchServiceResource.java
Tue Aug 12 15:36:10 2008
@@ -60,16 +60,13 @@
@GET
@Path("{project}/{repository}/")
@ProduceMime("text/xml")
- public Response query(@PathParam("project")
- String project, @PathParam("repository")
- String repository, @QueryParam("q")
- String query, @QueryParam("metafields")
- String metaFields, @QueryParam("outputfields")
- String resultTypeString, @QueryParam("start")
- @DefaultValue("0")
- String startString, @QueryParam("num")
- @DefaultValue("20")
- String numString) {
+ public Response query(@PathParam("project") String project,
+ @PathParam("repository") String repository,
+ @QueryParam("q") String query,
+ @QueryParam("metafields") String metaFields,
+ @QueryParam("outputfields") String resultTypeString,
+ @QueryParam("start") @DefaultValue("0") String startString,
+ @QueryParam("num") @DefaultValue("20") String numString) {

// parse and validate query parameters
if (query == null)



  • [idok-commit] idok commit r171 - branches/rest/java/ch/idok/service/server/search/rest, AFS account Roman Geus, 08/12/2008

Archive powered by MHonArc 2.6.19.

Top of Page