This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git

commit 52aeae39837868bbde9415b14378a4522a7b89be
Author: Martin Stockhammer <[email protected]>
AuthorDate: Thu Dec 31 15:43:49 2020 +0100

    Moving GrantType to v2 package
---
 .../apache/archiva/redback/rest/api/model/{ => v2}/GrantType.java    | 5 +----
 .../src/main/resources/{ => redback}/openapi-configuration.yaml      | 0
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/model/GrantType.java
 
b/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/model/v2/GrantType.java
similarity index 90%
rename from 
redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/model/GrantType.java
rename to 
redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/model/v2/GrantType.java
index 200dc75..63c362a 100644
--- 
a/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/model/GrantType.java
+++ 
b/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/model/v2/GrantType.java
@@ -57,9 +57,6 @@ public enum GrantType
     @Override
     public String toString( )
     {
-        final StringBuilder sb = new StringBuilder( "GrantType{" );
-        sb.append( "label='" ).append( label ).append( '\'' );
-        sb.append( '}' );
-        return sb.toString( );
+        return this.label;
     }
 }
diff --git 
a/redback-integrations/redback-rest/redback-rest-api/src/main/resources/openapi-configuration.yaml
 
b/redback-integrations/redback-rest/redback-rest-api/src/main/resources/redback/openapi-configuration.yaml
similarity index 100%
rename from 
redback-integrations/redback-rest/redback-rest-api/src/main/resources/openapi-configuration.yaml
rename to 
redback-integrations/redback-rest/redback-rest-api/src/main/resources/redback/openapi-configuration.yaml

Reply via email to