[CVS spice] Remove email addie
pdonald-yCVjj/[email protected] 11 Jul 2004 23:52:32 -0000
| Newsgroups | gmane.comp.java.spice.cvs |
|---|---|
| Message-ID | <[email protected]> |
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>spice/components/salt/src/java/org/codehaus/spice/salt/i18n</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">ResourceManager.java</a></tt></td><td align="right" id="added">+13</td><td align="right" id="removed">-16</td><td nowrap="nowrap" align="center">1.1 -> 1.2</td></tr>
</table>
<pre class="comment">
Remove email addie
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">spice/components/salt/src/java/org/codehaus/spice/salt/i18n<br /></span>
<div class="fileheader"><big><b>ResourceManager.java</b></big> <small id="info">1.1 -> 1.2</small></div>
<pre class="diff"><small id="info">diff -u -r1.1 -r1.2
--- ResourceManager.java 2 Dec 2003 02:15:04 -0000 1.1
+++ ResourceManager.java 11 Jul 2004 23:52:32 -0000 1.2
@@ -16,8 +16,8 @@
</small></pre><pre class="diff" id="context"> * Manager for resources.
*
* @author Peter Donald
</pre><pre class="diff" id="removed">- * @author <a href="mailto:colus at apache.org">Eung-ju Park</a>
- * @version $Revision: 1.1 $ $Date: 2003/12/02 02:15:04 $
</pre><pre class="diff" id="added">+ * @author Eung-ju Park
+ * @version $Revision: 1.2 $ $Date: 2004/07/11 23:52:32 $
</pre><pre class="diff" id="context"> */
public class ResourceManager
{
</pre><pre class="diff"><small id="info">@@ -27,8 +27,8 @@
</small></pre><pre class="diff" id="context"> private static final String POSTFIX = "Resources";
/** Permission needed to clear complete cache. */
</pre><pre class="diff" id="removed">- private static final RuntimePermission CLEAR_CACHE_PERMISSION =
- new RuntimePermission( "i18n.clearCompleteCache" );
</pre><pre class="diff" id="added">+ private static final RuntimePermission CLEAR_CACHE_PERMISSION = new RuntimePermission(
+ "i18n.clearCompleteCache" );
</pre><pre class="diff" id="context">
/**
* Map of ClassLoaders onto Secondary Map. Secondary map will map basename
</pre><pre class="diff"><small id="info">@@ -136,12 +136,11 @@
</small></pre><pre class="diff" id="context"> * @param baseName the resource key
* @param resources the resources object
*/
</pre><pre class="diff" id="removed">- private synchronized static final void putCachedResource(
- final String baseName,
- final ClassLoader classLoader,
- final Resources resources )
</pre><pre class="diff" id="added">+ private synchronized static final void putCachedResource( final String baseName,
+ final ClassLoader classLoader,
+ final Resources resources )
</pre><pre class="diff" id="context"> {
</pre><pre class="diff" id="removed">- Map map = (Map)c_resources.get( classLoader );
</pre><pre class="diff" id="added">+ Map map = (Map)<span id="addedchars"> </span>c_resources.get( classLoader );
</pre><pre class="diff" id="context"> if( null == map )
{
map = new HashMap();
</pre><pre class="diff"><small id="info">@@ -156,24 +155,22 @@
</small></pre><pre class="diff" id="context"> * @param baseName the resource key
* @return resources the resources object
*/
</pre><pre class="diff" id="removed">- private synchronized static final Resources getCachedResource(
- final String baseName,
- final ClassLoader classLoader )
</pre><pre class="diff" id="added">+ private synchronized static final Resources getCachedResource( final String baseName,
+ final ClassLoader classLoader )
</pre><pre class="diff" id="context"> {
</pre><pre class="diff" id="removed">- Map map = (Map)c_resources.get( classLoader );
</pre><pre class="diff" id="added">+ Map map = (Map)<span id="addedchars"> </span>c_resources.get( classLoader );
</pre><pre class="diff" id="context"> if( null == map )
{
return null;
}
</pre><pre class="diff" id="removed">- final WeakReference weakReference =
- (WeakReference)map.get( baseName );
</pre><pre class="diff" id="added">+ final WeakReference weakReference = (WeakReference) map.get( baseName );
</pre><pre class="diff" id="context"> if( null == weakReference )
{
return null;
}
else
{
</pre><pre class="diff" id="removed">- return (Resources)weakReference.get();
</pre><pre class="diff" id="added">+ return (Resources)<span id="addedchars"> </span>weakReference.get();
</pre><pre class="diff" id="context"> }
}
}
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.8</small></center>
</body></html>