test_class.file: dependencies/api/src/test/java/org/jboss/forge/addon/dependencies/util/DependenciesTest.java
test_class.identifier: DependenciesTest
test_case.body: @Test
     public void testAreEquivalentDependencyDependency()
     {
        Dependency depOne = DependencyBuilder.create().setGroupId("org.jboss.errai").setArtifactId("errai-cdi-client")
                 .setPackaging("jar");
        Dependency depTwo = DependencyBuilder.create().setGroupId("org.jboss.errai").setArtifactId("errai-cdi-client")
                 .setPackaging("test-jar");
        Assert.assertFalse(Dependencies.areEquivalent(depOne, depTwo));
     }
test_case.class_method_signature: DependenciesTest.testAreEquivalentDependencyDependency()
test_case.full_signature: @Test public void testAreEquivalentDependencyDependency()
test_case.identifier: testAreEquivalentDependencyDependency
test_case.invocations: setPackaging setArtifactId setGroupId create setPackaging setArtifactId setGroupId create assertFalse areEquivalent
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAreEquivalentDependencyDependency()
focal_class.file: dependencies/api/src/main/java/org/jboss/forge/addon/dependencies/util/Dependencies.java
focal_class.identifier: Dependencies
focal_class.class_method_signature: Dependencies.areEquivalent(Dependency l, Dependency r)
focal_class.full_signature: public static boolean areEquivalent(Dependency l, Dependency r)
focal_class.identifier: areEquivalent
focal_class.modifiers: public static
focal_class.parameters: (Dependency l, Dependency r)
focal_class.return: boolean
focal_class.signature: boolean areEquivalent(Dependency l, Dependency r)
focal_class.class_method_signature: Dependencies.areEquivalent(Coordinate l, Coordinate r)
focal_class.full_signature: public static boolean areEquivalent(Coordinate l, Coordinate r)
focal_class.identifier: areEquivalent
focal_class.modifiers: public static
focal_class.parameters: (Coordinate l, Coordinate r)
focal_class.return: boolean
focal_class.signature: boolean areEquivalent(Coordinate l, Coordinate r)
focal_method.body: public static boolean areEquivalent(Dependency l, Dependency r)
     {
        if (l == r)
        {
           return true;
        }
        if ((l == null) && (r == null))
        {
           return true;
        }
        else if ((l == null) || (r == null))
        {
           return false;
        }
  
        return areEquivalent(l.getCoordinate(), r.getCoordinate());
     }
focal_method.class_method_signature: Dependencies.areEquivalent(Dependency l, Dependency r)
focal_method.full_signature: public static boolean areEquivalent(Dependency l, Dependency r)
focal_method.identifier: areEquivalent
focal_method.invocations: areEquivalent getCoordinate getCoordinate
focal_method.modifiers: public static
focal_method.parameters: (Dependency l, Dependency r)
focal_method.return: boolean
focal_method.signature: boolean areEquivalent(Dependency l, Dependency r)