diff options
author | Olivier Lamy <olamy@apache.org> | 2012-12-21 17:55:33 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-12-21 17:55:33 +0000 |
commit | d767b764a1240852e5017f8a95de1772e81e167d (patch) | |
tree | 4880b400a9b25a7574b83e866d4440d717ac0fd0 /archiva-modules/archiva-web | |
parent | 2f33133799d0d8dd449131232f006bcfd96e4392 (diff) | |
download | archiva-d767b764a1240852e5017f8a95de1772e81e167d.tar.gz archiva-d767b764a1240852e5017f8a95de1772e81e167d.zip |
fix ugly bean attribute names
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425057 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web')
4 files changed, 22 insertions, 22 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java index 6f9c6b0d7..536ea50fc 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java @@ -83,8 +83,8 @@ public class DefaultRedbackRuntimeConfigurationService { RedbackRuntimeConfiguration redbackRuntimeConfiguration = redbackRuntimeConfigurationAdmin.getRedbackRuntimeConfiguration(); - usersCache.setTimeToIdleSeconds( redbackRuntimeConfiguration.getUseUsersCacheTimeToIdleSeconds() ); - usersCache.setTimeToLiveSeconds( redbackRuntimeConfiguration.getUseUsersCacheTimeToLiveSeconds() ); + usersCache.setTimeToIdleSeconds( redbackRuntimeConfiguration.getUsersCacheTimeToIdleSeconds() ); + usersCache.setTimeToLiveSeconds( redbackRuntimeConfiguration.getUsersCacheTimeToLiveSeconds() ); } public RedbackRuntimeConfiguration getRedbackRuntimeConfiguration() @@ -148,8 +148,8 @@ public class DefaultRedbackRuntimeConfigurationService } // users cache - usersCache.setTimeToIdleSeconds( redbackRuntimeConfiguration.getUseUsersCacheTimeToIdleSeconds() ); - usersCache.setTimeToLiveSeconds( redbackRuntimeConfiguration.getUseUsersCacheTimeToLiveSeconds() ); + usersCache.setTimeToIdleSeconds( redbackRuntimeConfiguration.getUsersCacheTimeToIdleSeconds() ); + usersCache.setTimeToLiveSeconds( redbackRuntimeConfiguration.getUsersCacheTimeToLiveSeconds() ); return Boolean.TRUE; } diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index 4024da78d..dc093b85d 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -632,11 +632,11 @@ redback.runtime.ldap.checkModification=Verify LDAP changes. redback.runtime.ldap.checkServer=Verify LDAP configuration on server side. redback.runtime.useUsersCache.label=Use a cache for users. redback.runtime.users.cache.title=Users Cache -redback.runtime.useUsersCacheTimeToLiveSeconds.label=Time to Live -redback.runtime.useUsersCacheTimeToLiveSeconds.help.title= -redback.runtime.useUsersCacheTimeToLiveSeconds.help.content= -redback.runtime.useUsersCacheTimeToIdleSeconds.label=Time to Idle -redback.runtime.useUsersCacheTimeToIdleSeconds.help.title= -redback.runtime.useUsersCacheTimeToIdleSeconds.help.content= +redback.runtime.usersCacheTimeToLiveSeconds.label=Time to Live +redback.runtime.usersCacheTimeToLiveSeconds.help.title= +redback.runtime.usersCacheTimeToLiveSeconds.help.content= +redback.runtime.usersCacheTimeToIdleSeconds.label=Time to Idle +redback.runtime.usersCacheTimeToIdleSeconds.help.title= +redback.runtime.usersCacheTimeToIdleSeconds.help.content= diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js index aa80ffb3b..0fa26baa4 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js @@ -1152,7 +1152,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" RedbackRuntimeConfiguration=function(userManagerImpls,ldapConfiguration,migratedFromRedbackConfiguration,configurationPropertiesEntries - ,useUsersCache,useUsersCacheTimeToIdleSeconds,useUsersCacheTimeToLiveSeconds){ + ,useUsersCache,usersCacheTimeToIdleSeconds,usersCacheTimeToLiveSeconds){ $.log("new RedbackRuntimeConfiguration"); var self=this; this.modified=ko.observable(false); @@ -1189,11 +1189,11 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" this.useUsersCache=ko.observable(useUsersCache); this.useUsersCache.subscribe(function(newValue){self.modified(true)}); - this.useUsersCacheTimeToIdleSeconds=ko.observable(useUsersCacheTimeToIdleSeconds); - this.useUsersCacheTimeToIdleSeconds.subscribe(function(newValue){self.modified(true)}); + this.usersCacheTimeToIdleSeconds=ko.observable(usersCacheTimeToIdleSeconds); + this.usersCacheTimeToIdleSeconds.subscribe(function(newValue){self.modified(true)}); - this.useUsersCacheTimeToLiveSeconds=ko.observable(useUsersCacheTimeToLiveSeconds); - this.useUsersCacheTimeToLiveSeconds.subscribe(function(newValue){self.modified(true)}); + this.usersCacheTimeToLiveSeconds=ko.observable(usersCacheTimeToLiveSeconds); + this.usersCacheTimeToLiveSeconds.subscribe(function(newValue){self.modified(true)}); } @@ -1204,7 +1204,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" var redbackRuntimeConfiguration = new RedbackRuntimeConfiguration(data.userManagerImpls,ldapConfiguration,data.migratedFromRedbackConfiguration,[] - ,data.useUsersCache,data.useUsersCacheTimeToIdleSeconds,data.useUsersCacheTimeToLiveSeconds); + ,data.useUsersCache,data.usersCacheTimeToIdleSeconds,data.usersCacheTimeToLiveSeconds); $.log("mapRedbackRuntimeConfiguration done"); var configurationPropertiesEntries = data.configurationPropertiesEntries == null ? []: $.each(data.configurationPropertiesEntries,function(item){ diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html index bc6caebd7..5fde1e03b 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html @@ -1038,18 +1038,18 @@ </div> <div class="control-group"> - <label class="control-label" for="useUsersCacheTimeToLiveSeconds">${$.i18n.prop('redback.runtime.useUsersCacheTimeToLiveSeconds.label')}</label> + <label class="control-label" for="usersCacheTimeToLiveSeconds">${$.i18n.prop('redback.runtime.usersCacheTimeToLiveSeconds.label')}</label> <div class="controls"> - <input type="text" class="xlarge required numeric" data-bind="value: redbackRuntimeConfiguration().useUsersCacheTimeToLiveSeconds" - id="useUsersCacheTimeToLiveSeconds" name="useUsersCacheTimeToLiveSeconds" /> + <input type="text" class="xlarge required numeric" data-bind="value: redbackRuntimeConfiguration().usersCacheTimeToLiveSeconds" + id="usersCacheTimeToLiveSeconds" name="usersCacheTimeToLiveSeconds" /> </div> </div> <div class="control-group"> - <label class="control-label" for="useUsersCacheTimeToIdleSeconds">${$.i18n.prop('redback.runtime.useUsersCacheTimeToIdleSeconds.label')}</label> + <label class="control-label" for="usersCacheTimeToIdleSeconds">${$.i18n.prop('redback.runtime.usersCacheTimeToIdleSeconds.label')}</label> <div class="controls"> - <input type="text" class="xlarge required numeric" data-bind="value: redbackRuntimeConfiguration().useUsersCacheTimeToIdleSeconds" - id="useUsersCacheTimeToIdleSeconds" name="useUsersCacheTimeToIdleSeconds" /> + <input type="text" class="xlarge required numeric" data-bind="value: redbackRuntimeConfiguration().usersCacheTimeToIdleSeconds" + id="usersCacheTimeToIdleSeconds" name="usersCacheTimeToIdleSeconds" /> </div> </div> |