From d53cb23f49e01293d86ed8d3f54c079458b3d8de Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Fri, 4 Oct 2019 21:19:44 -0700 Subject: [PATCH] DRYD-765: Change method declarations to conventional 'public static' instead of 'static public'. --- .../common/vocabulary/AuthorityServiceUtils.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/AuthorityServiceUtils.java b/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/AuthorityServiceUtils.java index 07b33d281..116599fe7 100644 --- a/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/AuthorityServiceUtils.java +++ b/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/AuthorityServiceUtils.java @@ -117,7 +117,7 @@ public class AuthorityServiceUtils { * @return * @throws Exception */ - static public PoxPayloadIn requestPayloadInFromRemoteServer(ServiceContext ctx, String remoteClientConfigName, Specifier specifier, Class responseType) throws Exception { + public static PoxPayloadIn requestPayloadInFromRemoteServer(ServiceContext ctx, String remoteClientConfigName, Specifier specifier, Class responseType) throws Exception { PoxPayloadIn result = null; RemoteClientConfig remoteClientConfig = getRemoteClientConfig(ctx, remoteClientConfigName); @@ -146,7 +146,7 @@ public class AuthorityServiceUtils { // // Makes a call to the remote SAS server for a authority item payload // - static public PoxPayloadIn requestPayloadInFromRemoteServer( + public static PoxPayloadIn requestPayloadInFromRemoteServer( AuthorityItemSpecifier specifier, String remoteClientConfigName, String serviceName, @@ -179,7 +179,7 @@ public class AuthorityServiceUtils { return result; } - static public boolean setAuthorityItemDeprecated(ServiceContext ctx, + public static boolean setAuthorityItemDeprecated(ServiceContext ctx, DocumentModel docModel, String authorityItemCommonSchemaName, Boolean flag) throws Exception { boolean result = false; @@ -196,7 +196,7 @@ public class AuthorityServiceUtils { * The domain name part of refnames on a remote SAS may not match that of local refnames. * Update all the payload's refnames with the local domain name. */ - static public PoxPayloadIn localizeRefNameDomains(ServiceContext ctx, PoxPayloadIn payload) throws org.dom4j.DocumentException { + public static PoxPayloadIn localizeRefNameDomains(ServiceContext ctx, PoxPayloadIn payload) throws org.dom4j.DocumentException { String localDomain = ctx.getTenantName(); Matcher matcher = REFNAME_DOMAIN_PATTERN.matcher(payload.getXmlPayload()); StringBuffer localizedXmlBuffer = new StringBuffer(); @@ -227,7 +227,7 @@ public class AuthorityServiceUtils { * @param itemInfo * @throws Exception */ - static public boolean markAuthorityItemAsDeprecated(ServiceContext ctx, String authorityItemCommonSchemaName, AuthorityItemSpecifier authorityItemSpecifier) throws Exception { + public static boolean markAuthorityItemAsDeprecated(ServiceContext ctx, String authorityItemCommonSchemaName, AuthorityItemSpecifier authorityItemSpecifier) throws Exception { boolean result = false; try { -- 2.47.3