You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2013/04/19 10:28:42 UTC
svn commit: r1469740 - in /syncope/trunk: ./
console/src/main/java/org/apache/syncope/console/rest/ReportRestClient.java
Author: ilgrosso
Date: Fri Apr 19 08:28:41 2013
New Revision: 1469740
URL: http://svn.apache.org/r1469740
Log:
[SYNCOPE-361] Merge from 1_1_X
Modified:
syncope/trunk/ (props changed)
syncope/trunk/console/src/main/java/org/apache/syncope/console/rest/ReportRestClient.java
Propchange: syncope/trunk/
------------------------------------------------------------------------------
Merged /syncope/branches/1_1_X:r1469365-1469739
Modified: syncope/trunk/console/src/main/java/org/apache/syncope/console/rest/ReportRestClient.java
URL: http://svn.apache.org/viewvc/syncope/trunk/console/src/main/java/org/apache/syncope/console/rest/ReportRestClient.java?rev=1469740&r1=1469739&r2=1469740&view=diff
==============================================================================
--- syncope/trunk/console/src/main/java/org/apache/syncope/console/rest/ReportRestClient.java (original)
+++ syncope/trunk/console/src/main/java/org/apache/syncope/console/rest/ReportRestClient.java Fri Apr 19 08:28:41 2013
@@ -59,10 +59,8 @@ public class ReportRestClient extends Ba
return getService(ReportService.class).count();
}
- public ReportTO create(final ReportTO reportTO) {
- Response response = getService(ReportService.class).create(reportTO);
- Long reportId = (Long) response.getEntity();
- return getService(ReportService.class).read(reportId);
+ public void create(final ReportTO reportTO) {
+ getService(ReportService.class).create(reportTO);
}
public void update(final ReportTO reportTO) {