r7172 - dumbhippo/trunk/server/src/com/dumbhippo/server/dm



Author: otaylor
Date: 2008-01-10 09:33:29 -0600 (Thu, 10 Jan 2008)
New Revision: 7172

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/server/dm/BlockDMO.java
Log:
Fix definition of BlockDMO.isPublic()

Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/dm/BlockDMO.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/dm/BlockDMO.java	2008-01-10 15:25:10 UTC (rev 7171)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/dm/BlockDMO.java	2008-01-10 15:33:29 UTC (rev 7172)
@@ -193,7 +193,7 @@
 	
 	@DMProperty(defaultInclude=true)
 	public boolean isPublic() {
-		return blockView.getBlockType().getBlockVisibility() == BlockVisibility.PUBLIC;
+		return blockView.isPublic();
 	}
 	
 	@DMProperty(defaultInclude=true, defaultChildren="+")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]