FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TESTING GIT by someswarduddi · Pull Request #1 · chrishantha/sample-java-programs · GitHub

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
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
Expand Up @@ -34,6 +34,7 @@ public class HotMethodsApplication implements SampleApplication {
public void start() {
Collection<Integer> primeNumbers = new LinkedList<>();
System.out.println("Generating Prime numbers between 1 and " + max);
System.out.println("I AM ADDING THIS LINE");
for (int i = 1; i < max; i++) {
boolean isPrimeNumber = true;
// Check whether the number is prime
Expand All @@ -50,7 +51,6 @@ public void start() {
}

Random random = new Random();
System.out.println("Checking Random Prime numbers");
int count = 0;
for (int i = 1; i < randomNumbersCount; i++) {
int randomNumber = random.nextInt(max);
Expand Down

Back | FazBrowse Home | New Git URL