2
0
Эх сурвалжийг харах

last 4 warnings. eclipse 3.4

JIV 15 жил өмнө
parent
commit
8721311100

+ 1 - 0
L2_GameServer/java/com/l2jserver/Base64.java

@@ -872,6 +872,7 @@ public class Base64
 	 * @return The decoded and deserialized object
 	 * @return The decoded and deserialized object
 	 * @since 1.5
 	 * @since 1.5
 	 */
 	 */
+	@SuppressWarnings("null")
 	public static Object decodeToObject(String encodedObject)
 	public static Object decodeToObject(String encodedObject)
 	{
 	{
 		// Decode and gunzip if necessary
 		// Decode and gunzip if necessary

+ 4 - 2
L2_GameServer/java/com/l2jserver/gameserver/model/L2WorldRegion.java

@@ -358,7 +358,8 @@ public final class L2WorldRegion
      * containing L2PcInstance of all player in game in this L2WorldRegion <BR>
      * containing L2PcInstance of all player in game in this L2WorldRegion <BR>
      * Assert : object.getCurrentWorldRegion() == this
      * Assert : object.getCurrentWorldRegion() == this
      */
      */
-    public void addVisibleObject(L2Object object)
+    @SuppressWarnings("null")
+	public void addVisibleObject(L2Object object)
     {
     {
         assert object.getWorldRegion() == this;
         assert object.getWorldRegion() == this;
         
         
@@ -381,7 +382,8 @@ public final class L2WorldRegion
      * If L2Object is a L2PcInstance, remove it from the L2ObjectHashSet(L2PcInstance) _allPlayable of this L2WorldRegion <BR>
      * If L2Object is a L2PcInstance, remove it from the L2ObjectHashSet(L2PcInstance) _allPlayable of this L2WorldRegion <BR>
      * Assert : object.getCurrentWorldRegion() == this || object.getCurrentWorldRegion() == null
      * Assert : object.getCurrentWorldRegion() == this || object.getCurrentWorldRegion() == null
      */
      */
-    public void removeVisibleObject(L2Object object)
+    @SuppressWarnings("null")
+	public void removeVisibleObject(L2Object object)
     {
     {
         assert object.getWorldRegion() == this || object.getWorldRegion() == null;
         assert object.getWorldRegion() == this || object.getWorldRegion() == null;