You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by mk...@apache.org on 2022/02/18 14:48:58 UTC
[netbeans] 02/17: Use the blessed modifier order in projects located in websvccommon projects
This is an automated email from the ASF dual-hosted git repository.
mklaehn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit b6daca96683129c4cc7daceda3523bb87253a677
Author: Martin Klähn <mk...@apache.org>
AuthorDate: Fri Feb 18 11:08:05 2022 +0100
Use the blessed modifier order in projects located in websvccommon projects
---
.../src/org/netbeans/modules/websvc/saas/model/SaasServicesModel.java | 2 +-
.../modules/websvc/saas/spi/websvcmgr/WsdlServiceProxyDescriptor.java | 2 +-
.../netbeans/modules/websvc/saas/codegen/SaasClientCodeGenerator.java | 4 ++--
.../src/org/netbeans/modules/websvc/saas/codegen/util/Inflector.java | 2 +-
.../src/org/netbeans/modules/websvc/saas/ui/nodes/SaasMethodNode.java | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServicesModel.java b/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServicesModel.java
index 62be31d..6eaccce 100644
--- a/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServicesModel.java
+++ b/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServicesModel.java
@@ -58,7 +58,7 @@ public class SaasServicesModel {
}
private static SaasServicesModel instance;
- public synchronized static SaasServicesModel getInstance() {
+ public static synchronized SaasServicesModel getInstance() {
if (instance == null) {
instance = new SaasServicesModel();
}
diff --git a/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/spi/websvcmgr/WsdlServiceProxyDescriptor.java b/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/spi/websvcmgr/WsdlServiceProxyDescriptor.java
index 76a8e59..1ef4486 100644
--- a/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/spi/websvcmgr/WsdlServiceProxyDescriptor.java
+++ b/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/spi/websvcmgr/WsdlServiceProxyDescriptor.java
@@ -57,7 +57,7 @@ public class WsdlServiceProxyDescriptor {
private int wsType;
private String wsdl;
private String xmlDescriptor;
- transient private WSService model;
+ private transient WSService model;
private List<JarEntry> jars;
private Map<String, Object> consumerData;
diff --git a/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/SaasClientCodeGenerator.java b/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/SaasClientCodeGenerator.java
index 8e38229..9c99e0a 100644
--- a/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/SaasClientCodeGenerator.java
+++ b/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/SaasClientCodeGenerator.java
@@ -57,7 +57,7 @@ import org.openide.util.Exceptions;
*
* @author nam
*/
-abstract public class SaasClientCodeGenerator implements SaasClientCodeGenerationProvider {
+public abstract class SaasClientCodeGenerator implements SaasClientCodeGenerationProvider {
public static final String REST_CONNECTION = "RestConnection"; //NOI18N
public static final String REST_RESPONSE = "RestResponse"; //NOI18N
@@ -238,7 +238,7 @@ abstract public class SaasClientCodeGenerator implements SaasClientCodeGeneratio
}
}
- abstract protected String getCustomMethodBody() throws IOException;
+ protected abstract String getCustomMethodBody() throws IOException;
public SaasBean getBean() {
return bean;
diff --git a/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/util/Inflector.java b/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/util/Inflector.java
index 029f452..981ee8d 100644
--- a/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/util/Inflector.java
+++ b/websvccommon/websvc.saas.codegen/src/org/netbeans/modules/websvc/saas/codegen/util/Inflector.java
@@ -134,7 +134,7 @@ public class Inflector {
* <p>The singleton instance returned by the default <code>getInstance()</code>
* method.</p>
*/
- private transient static Inflector instance = null;
+ private static transient Inflector instance = null;
/**
diff --git a/websvccommon/websvc.saas.ui/src/org/netbeans/modules/websvc/saas/ui/nodes/SaasMethodNode.java b/websvccommon/websvc.saas.ui/src/org/netbeans/modules/websvc/saas/ui/nodes/SaasMethodNode.java
index 6e388bd..0a7321c 100644
--- a/websvccommon/websvc.saas.ui/src/org/netbeans/modules/websvc/saas/ui/nodes/SaasMethodNode.java
+++ b/websvccommon/websvc.saas.ui/src/org/netbeans/modules/websvc/saas/ui/nodes/SaasMethodNode.java
@@ -52,7 +52,7 @@ public class SaasMethodNode extends AbstractNode {
return method.getDocumentation();
}
- static private final Image ICON = ImageUtilities.loadImage("org/netbeans/modules/websvc/saas/ui/resources/method.png"); // NOI18N
+ private static final Image ICON = ImageUtilities.loadImage("org/netbeans/modules/websvc/saas/ui/resources/method.png"); // NOI18N
@Override
public Image getIcon(int type){
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists