Changeset 2579 in josm


Ignore:
Timestamp:
2009-12-06T09:21:50+01:00 (15 years ago)
Author:
jttt
Message:

Removed Relation.isIncomplete - it was overriding OsmPrimitive.isIncomplete() and it was completely useless - it could not ever return true

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.settings/org.eclipse.jdt.core.prefs

    r1884 r2579  
    1 #Thu Jul 09 20:42:21 CEST 2009
     1#Sun Dec 06 09:20:07 CET 2009
    22eclipse.preferences.version=1
    33org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
     
    1111org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
    1212org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     13org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     14org.eclipse.jdt.core.compiler.problem.deadCode=warning
    1315org.eclipse.jdt.core.compiler.problem.deprecation=warning
    1416org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     
    3032org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
    3133org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
    32 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     34org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
     35org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
    3336org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     37org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning
    3438org.eclipse.jdt.core.compiler.problem.noEffectAssignment=error
    3539org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
  • trunk/src/org/openstreetmap/josm/data/osm/Relation.java

    r2578 r2579  
    234234    }
    235235
    236     // seems to be different from member "incomplete" - FIXME
    237     public boolean isIncomplete() {
    238         for (RelationMember m : members)
    239             if (m.getMember() == null)
    240                 return true;
    241         return false;
    242     }
    243 
    244236    public RelationMember firstMember() {
    245237        if (isIncomplete()) return null;
Note: See TracChangeset for help on using the changeset viewer.