Skip to content

Commit fb90de3

Browse files
authored
Merge pull request #38 from blackducksoftware/task/synospsys-name-panic
Refactor naming to remove all Synopsys references
2 parents 03837fb + e662de6 commit fb90de3

27 files changed

+95
-95
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/\*$
22
\W\* method-use-analyzer
33
\W\*
4-
\W\* Copyright \(C\) \d\d\d\d Synopsys Inc\.$
4+
\W\* Copyright \(C\) \d\d\d\d Black Duck Software, Inc\.$

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Currently, Eclipse is the supported IDE for development. It is recommended to cr
2020

2121
### Custom Setup
2222

23-
To run tests, the property `com.synopsys.method.analyzer.test.project.dir` must be set to the file path of the `method-analyzer-test-project` directory in the run/debug settings of TestNG. Executions of the tests from the command line via Gradle are configured with this value automatically.
23+
To run tests, the property `com.blackduck.method.analyzer.test.project.dir` must be set to the file path of the `method-analyzer-test-project` directory in the run/debug settings of TestNG. Executions of the tests from the command line via Gradle are configured with this value automatically.
2424

2525

2626
## General Standards

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# General library settings
2-
group=com.synopsys
3-
version=0.2.10-SNAPSHOT
2+
group=com.blackduck
3+
version=1.0.0-SNAPSHOT
44

55
org.gradle.console=plain
66
org.gradle.warning.mode=all

method-analyzer-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
// Configure tests with directory for test project
2828
// This requires setting up TestNG run/debug properties within IDE imports to execute tests
2929
test {
30-
systemProperty 'com.synopsys.method.analyzer.test.project.dir', "${project(':method-analyzer-test-project').projectDir}"
30+
systemProperty 'com.blackduck.method.analyzer.test.project.dir', "${project(':method-analyzer-test-project').projectDir}"
3131
}
3232

3333
publishing {

method-analyzer-core/src/main/java/com/synopsys/method/analyzer/core/MethodUseAnalyzer.java renamed to method-analyzer-core/src/main/java/com/blackduck/method/analyzer/core/MethodUseAnalyzer.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* method-use-analyzer
33
*
4-
* Copyright (C) 2020 Synopsys Inc.
4+
* Copyright (C) 2020 Black Duck Software, Inc.
55
*
66
* Licensed to the Apache Software Foundation (ASF) under one
77
* or more contributor license agreements. See the NOTICE file
@@ -20,7 +20,7 @@
2020
* specific language governing permissions and limitations
2121
* under the License.
2222
*/
23-
package com.synopsys.method.analyzer.core;
23+
package com.blackduck.method.analyzer.core;
2424

2525
import java.io.IOException;
2626
import java.io.InputStream;
@@ -40,13 +40,13 @@
4040
import org.slf4j.Logger;
4141
import org.slf4j.LoggerFactory;
4242

43+
import com.blackduck.method.analyzer.core.bytecode.ClassMethodReferenceVisitor;
44+
import com.blackduck.method.analyzer.core.model.MethodUse;
45+
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
46+
import com.blackduck.method.analyzer.core.report.ReportGenerator;
4347
import com.google.common.base.Preconditions;
4448
import com.google.common.base.Strings;
4549
import com.google.common.collect.Multimap;
46-
import com.synopsys.method.analyzer.core.bytecode.ClassMethodReferenceVisitor;
47-
import com.synopsys.method.analyzer.core.model.MethodUse;
48-
import com.synopsys.method.analyzer.core.model.ReferencedMethod;
49-
import com.synopsys.method.analyzer.core.report.ReportGenerator;
5050

5151
/**
5252
* Represents functionality to analyze and report on the external method calls made within a Java project

method-analyzer-core/src/main/java/com/synopsys/method/analyzer/core/bytecode/ClassMethodReferenceVisitor.java renamed to method-analyzer-core/src/main/java/com/blackduck/method/analyzer/core/bytecode/ClassMethodReferenceVisitor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* method-use-analyzer
33
*
4-
* Copyright (C) 2020 Synopsys Inc.
4+
* Copyright (C) 2020 Black Duck Software, Inc.
55
*
66
* Licensed to the Apache Software Foundation (ASF) under one
77
* or more contributor license agreements. See the NOTICE file
@@ -20,7 +20,7 @@
2020
* specific language governing permissions and limitations
2121
* under the License.
2222
*/
23-
package com.synopsys.method.analyzer.core.bytecode;
23+
package com.blackduck.method.analyzer.core.bytecode;
2424

2525
import java.util.List;
2626
import java.util.Objects;
@@ -39,9 +39,9 @@
3939
import org.slf4j.Logger;
4040
import org.slf4j.LoggerFactory;
4141

42+
import com.blackduck.method.analyzer.core.model.MethodUse;
43+
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
4244
import com.google.common.collect.Multimap;
43-
import com.synopsys.method.analyzer.core.model.MethodUse;
44-
import com.synopsys.method.analyzer.core.model.ReferencedMethod;
4545

4646
/**
4747
* Represents handling for traversing ASM's byte code model to accumulate method reference information within a project

method-analyzer-core/src/main/java/com/synopsys/method/analyzer/core/bytecode/MethodReferenceRegistry.java renamed to method-analyzer-core/src/main/java/com/blackduck/method/analyzer/core/bytecode/MethodReferenceRegistry.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* method-use-analyzer
33
*
4-
* Copyright (C) 2020 Synopsys Inc.
4+
* Copyright (C) 2020 Black Duck Software, Inc.
55
*
66
* Licensed to the Apache Software Foundation (ASF) under one
77
* or more contributor license agreements. See the NOTICE file
@@ -20,7 +20,7 @@
2020
* specific language governing permissions and limitations
2121
* under the License.
2222
*/
23-
package com.synopsys.method.analyzer.core.bytecode;
23+
package com.blackduck.method.analyzer.core.bytecode;
2424

2525
import java.util.Collection;
2626
import java.util.HashSet;
@@ -31,13 +31,13 @@
3131

3232
import javax.annotation.Nullable;
3333

34+
import com.blackduck.method.analyzer.core.model.MethodUse;
35+
import com.blackduck.method.analyzer.core.model.ReferencedMethod;
3436
import com.google.common.collect.HashBasedTable;
3537
import com.google.common.collect.HashMultimap;
3638
import com.google.common.collect.Multimap;
3739
import com.google.common.collect.Table;
3840
import com.google.common.collect.Table.Cell;
39-
import com.synopsys.method.analyzer.core.model.MethodUse;
40-
import com.synopsys.method.analyzer.core.model.ReferencedMethod;
4141

4242
/**
4343
* Represents handling for tracking referenced methods throughout a project

method-analyzer-core/src/main/java/com/synopsys/method/analyzer/core/bytecode/package-info.java renamed to method-analyzer-core/src/main/java/com/blackduck/method/analyzer/core/bytecode/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* method-use-analyzer
33
*
4-
* Copyright (C) 2020 Synopsys Inc.
4+
* Copyright (C) 2020 Black Duck Software, Inc.
55
*
66
* Licensed to the Apache Software Foundation (ASF) under one
77
* or more contributor license agreements. See the NOTICE file
@@ -26,4 +26,4 @@
2626
*
2727
* @author romeara
2828
*/
29-
package com.synopsys.method.analyzer.core.bytecode;
29+
package com.blackduck.method.analyzer.core.bytecode;

method-analyzer-core/src/main/java/com/synopsys/method/analyzer/core/model/MethodUse.java renamed to method-analyzer-core/src/main/java/com/blackduck/method/analyzer/core/model/MethodUse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* method-use-analyzer
33
*
4-
* Copyright (C) 2020 Synopsys Inc.
4+
* Copyright (C) 2020 Black Duck Software, Inc.
55
*
66
* Licensed to the Apache Software Foundation (ASF) under one
77
* or more contributor license agreements. See the NOTICE file
@@ -20,7 +20,7 @@
2020
* specific language governing permissions and limitations
2121
* under the License.
2222
*/
23-
package com.synopsys.method.analyzer.core.model;
23+
package com.blackduck.method.analyzer.core.model;
2424

2525
import java.util.Objects;
2626
import java.util.Optional;

method-analyzer-core/src/main/java/com/synopsys/method/analyzer/core/model/ReferencedMethod.java renamed to method-analyzer-core/src/main/java/com/blackduck/method/analyzer/core/model/ReferencedMethod.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* method-use-analyzer
33
*
4-
* Copyright (C) 2020 Synopsys Inc.
4+
* Copyright (C) 2020 Black Duck Software, Inc.
55
*
66
* Licensed to the Apache Software Foundation (ASF) under one
77
* or more contributor license agreements. See the NOTICE file
@@ -20,7 +20,7 @@
2020
* specific language governing permissions and limitations
2121
* under the License.
2222
*/
23-
package com.synopsys.method.analyzer.core.model;
23+
package com.blackduck.method.analyzer.core.model;
2424

2525
import java.util.List;
2626
import java.util.Objects;

0 commit comments

Comments
 (0)