-
Notifications
You must be signed in to change notification settings - Fork 165
Fixing the broken build by updating the Java Version. #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
BrenoFariasdaSilva
wants to merge
8
commits into
mauricioaniche:master
from
BrenoFariasdaSilva:master
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
68dc91a
REFACTOR: Fixing bad identation in Runner.java
BrenoFariasdaSilva bc6119a
FIX: Updating the Java Version in the pom.xml file
BrenoFariasdaSilva f133643
FIX: Updating the Java Version in the pom.xml file
BrenoFariasdaSilva 4c330cb
DOCS: Updating the Build Badge in the README
BrenoFariasdaSilva 5b2db1d
DOCS: Updating the Build Badge in the README
BrenoFariasdaSilva ad84470
FEAT: Adding a counter to the number of times a method was invoked
BrenoFariasdaSilva a1611a6
FEAT: Adding a counter to the number of times a class was instantiated
BrenoFariasdaSilva 2904516
FEAT: Adding a Makefile to help running standard Maven Commands
BrenoFariasdaSilva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Makefile for managing the build process of a Java project using Maven | ||
|
|
||
| # Default rule | ||
| default: build | ||
|
|
||
| # Rule for building the project | ||
| build: | ||
| mvn compile | ||
|
|
||
| # Rule for cleaning and packaging the project without running tests | ||
| package: | ||
| clear | ||
| mvn clean package -DskipTests | ||
|
|
||
| # Rule for running tests | ||
| test: | ||
| mvn test | ||
|
|
||
| # Rule for cleaning the project | ||
| clean: | ||
| mvn clean | ||
|
|
||
| # Rule for generating documentation | ||
| doc: | ||
| mvn javadoc:javadoc | ||
|
|
||
| # Rule for installing the project's artifacts into the local repository | ||
| install: | ||
| mvn install | ||
|
|
||
| .PHONY: default build package test clean doc install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,9 @@ | |
| import java.util.Map; | ||
|
|
||
| public class Runner { | ||
|
|
||
| public static Map<String,Integer> methodOccurrences = new HashMap<>(); | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| public static Map<String,Integer> classOccurrences = new HashMap<>(); | ||
|
|
||
| public static void main(String[] args) throws IOException { | ||
|
|
||
| if (args == null || args.length < 1) { | ||
|
|
@@ -37,11 +39,11 @@ public static void main(String[] args) throws IOException { | |
| if(args.length >= 5) | ||
| outputDir = args[4]; | ||
|
|
||
| // load possible additional ignored directories | ||
| //noinspection ManualArrayToCollectionCopy | ||
| for (int i = 5; i < args.length; i++) { | ||
| FileUtils.IGNORED_DIRECTORIES.add(args[i]); | ||
| } | ||
| // load possible additional ignored directories | ||
| //noinspection ManualArrayToCollectionCopy | ||
| for (int i = 5; i < args.length; i++) { | ||
| FileUtils.IGNORED_DIRECTORIES.add(args[i]); | ||
| } | ||
|
|
||
| ResultWriter writer = new ResultWriter(outputDir + "class.csv", outputDir + "method.csv", outputDir + "variable.csv", outputDir + "field.csv", variablesAndFields); | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't change that to your repository. Mine should be the official one.