ruper2/src/java/core/org/krysalis/ruper2/resource Resource.java,1.8,1.9

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/resource
In directory sc8-pr-cvs1:/tmp/cvs-serv15405/src/java/core/org/krysalis/ruper2/resource

Modified Files:
	Resource.java 
Log Message:
Various minor fixes...

Index: Resource.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/resource/Resource.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Resource.java	12 Oct 2003 18:12:06 -0000	1.8
--- Resource.java	14 Oct 2003 17:07:17 -0000	1.9
***************
*** 310,318 ****
  	public void setAttribute(Flag attributeName, Object attributeValue) {
  		if (null == m_attributes)
! 			m_attributes.put(attributeName, attributeValue);
  	}
  
  	public boolean hasAttribute(Flag attributeName) {
! 		return m_attributes.containsKey(attributeName);
  	}
  
--- 310,322 ----
  	public void setAttribute(Flag attributeName, Object attributeValue) {
  		if (null == m_attributes)
! 			m_attributes = new ResourceAttributeMap();
! 
! 		m_attributes.put(attributeName, attributeValue);
  	}
  
  	public boolean hasAttribute(Flag attributeName) {
! 		return (null == m_attributes)
! 			? false
! 			: m_attributes.containsKey(attributeName);
  	}
  




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.