From 5e96fd2e2d96c0ba22128da44ad3859b25134552 Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 7 Oct 2003 02:13:27 +0000 Subject: [PATCH] A method name beginning with 'load' in a repository class would imply database traffic happening in that method, such is not the case with these. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1240 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../com/samskivert/servlet/user/UserRepository.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/samskivert/src/java/com/samskivert/servlet/user/UserRepository.java b/projects/samskivert/src/java/com/samskivert/servlet/user/UserRepository.java index f2da969c..b1b6e7ea 100644 --- a/projects/samskivert/src/java/com/samskivert/servlet/user/UserRepository.java +++ b/projects/samskivert/src/java/com/samskivert/servlet/user/UserRepository.java @@ -1,5 +1,5 @@ // -// $Id: UserRepository.java,v 1.32 2003/09/19 21:13:37 mdb Exp $ +// $Id: UserRepository.java,v 1.33 2003/10/07 02:13:27 ray Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne @@ -360,9 +360,9 @@ public class UserRepository extends JORARepository } /** - * Load the site id for the passed in SiteName (stringId) + * Get the site id for the passed in SiteName (stringId) */ - public int loadSiteId (final String stringId) + public int getSiteId (String stringId) { Site site = (Site)_siteNameToSite.get(stringId); @@ -370,9 +370,9 @@ public class UserRepository extends JORARepository } /** - * Load the "Site Name" (stringId) for the give siteId + * Get the "Site Name" (stringId) for the give siteId */ - public String loadSiteName (int siteId) + public String getSiteName (int siteId) { Site site = (Site)_siteIdToSite.get(siteId);