aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java/org/sonar/wsclient
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-16 17:07:03 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-16 17:07:03 +0200
commitdc080ba936f22f60ddd8de75e9deedd9899f9428 (patch)
tree33a688d2e4dd09a1163f7011085764c0e06cfeb5 /sonar-ws-client/src/main/java/org/sonar/wsclient
parent8a0b54de6a665cd26ba35c8e696bf6d66765a531 (diff)
downloadsonarqube-dc080ba936f22f60ddd8de75e9deedd9899f9428.tar.gz
sonarqube-dc080ba936f22f60ddd8de75e9deedd9899f9428.zip
Moved non-exposed implementation classes to internal package
Diffstat (limited to 'sonar-ws-client/src/main/java/org/sonar/wsclient')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/SonarClient.java4
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/internal/DefaultPermissionClient.java (renamed from sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/DefaultPermissionClient.java)4
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java2
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/user/internal/DefaultUserClient.java (renamed from sonar-ws-client/src/main/java/org/sonar/wsclient/user/DefaultUserClient.java)6
4 files changed, 11 insertions, 5 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/SonarClient.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/SonarClient.java
index f0bf2e077bf..830dce49eae 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/SonarClient.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/SonarClient.java
@@ -24,10 +24,10 @@ import org.sonar.wsclient.issue.ActionPlanClient;
import org.sonar.wsclient.issue.IssueClient;
import org.sonar.wsclient.issue.internal.DefaultActionPlanClient;
import org.sonar.wsclient.issue.internal.DefaultIssueClient;
-import org.sonar.wsclient.permissions.DefaultPermissionClient;
import org.sonar.wsclient.permissions.PermissionClient;
-import org.sonar.wsclient.user.DefaultUserClient;
+import org.sonar.wsclient.permissions.internal.DefaultPermissionClient;
import org.sonar.wsclient.user.UserClient;
+import org.sonar.wsclient.user.internal.DefaultUserClient;
import javax.annotation.Nullable;
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/DefaultPermissionClient.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/internal/DefaultPermissionClient.java
index 9bb4a6fcaa2..18b568b1847 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/DefaultPermissionClient.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/internal/DefaultPermissionClient.java
@@ -18,9 +18,11 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-package org.sonar.wsclient.permissions;
+package org.sonar.wsclient.permissions.internal;
import org.sonar.wsclient.internal.HttpRequestFactory;
+import org.sonar.wsclient.permissions.PermissionClient;
+import org.sonar.wsclient.permissions.PermissionParameters;
public class DefaultPermissionClient implements PermissionClient {
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java
index 5060a2fee2a..2c0b2f53264 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java
@@ -58,7 +58,7 @@ public class UserQuery {
return this;
}
- Map<String, Object> urlParams() {
+ public Map<String, Object> urlParams() {
return params;
}
}
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/DefaultUserClient.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/internal/DefaultUserClient.java
index 676676d0985..5b4fd891a2d 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/DefaultUserClient.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/internal/DefaultUserClient.java
@@ -17,10 +17,14 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-package org.sonar.wsclient.user;
+package org.sonar.wsclient.user.internal;
import org.json.simple.JSONValue;
import org.sonar.wsclient.internal.HttpRequestFactory;
+import org.sonar.wsclient.user.User;
+import org.sonar.wsclient.user.UserClient;
+import org.sonar.wsclient.user.UserParameters;
+import org.sonar.wsclient.user.UserQuery;
import java.util.ArrayList;
import java.util.HashMap;