Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#IntellliJ files
.idea/
*.iml

# Mobile Tools for Java (J2ME)
.mtj.tmp/
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/com/jamf/research/James.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package com.jamf.research;

/**
* Created by jamesfelton on 1/11/17.
* Created by jamesfelton on 1/11/17. Edited by Mattarm 1/11
*/
public class James {
public class Matt {

public static String saySomething() {
int selection = (int) (Math.random() * 1000);
String[] sayings = {"Just say 'No' to plug-ins!",
"Serverless code, man! Serverless code.",
"Did someone say Lambda",
"Dungeons & Dragons!"};
String[] sayings = {"Lambda and Kinesis",
"We need datastores",
"Science of analytics & Understanding data",
"Go Cowboys"};
return sayings[selection % sayings.length];
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/jamf/research/JamfSays.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class JamfSays {

public static void main(String[] args) {
James.saySomething();
Matt.saySomething();
}

}