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
| package hu.meza; | |
| import cucumber.api.java.After; | |
| import cucumber.api.java.Before; | |
| import cucumber.api.java.en.Then; | |
| import cucumber.api.java.en.When; | |
| import net.lightbody.bmp.core.har.Har; | |
| import net.lightbody.bmp.core.har.HarLog; | |
| import net.lightbody.bmp.core.har.HarPage; | |
| import net.lightbody.bmp.proxy.ProxyServer; |
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
| # Generated by http://gitignore.io | |
| ### Java ### | |
| *.class | |
| # Package Files # | |
| *.jar | |
| *.war | |
| *.ear |
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
| <div> | |
| <% if @user.loggedin %> | |
| logout | |
| <% else %> | |
| login | |
| <% end %> | |
| </div> |
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
| *.* | |
| !README | |
| !*.feature | |
| !*.gitignore |
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
| public class SuperfluousAccessors { | |
| public boolean anUnderstandablyLongVariableNameForAnOddUsecase; | |
| } |
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
| <?php | |
| class DemoClass | |
| { | |
| public function someMethod() | |
| { | |
| $val1 = SomeClass1::staticMethod1(); | |
| $val2 = SomeClass2::staticMethod2(); | |
| } | |
| public function process() |
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
| public class GreetPrinter { | |
| public void static main(String[] args) { | |
| if (args.length < 1) { | |
| throw new RuntimeException("No email"); | |
| } | |
| User user = new User(args[0]); | |
| Greeter greeter = new Greeter(); | |
| System.out.println(greeter.greetMessage(user)); | |
| } |
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
| public class GreetPrinter { | |
| public void static main(String[] args) { | |
| User user = new User(); | |
| if (args.length > 1) { | |
| user.setEmail(args[0]); | |
| } | |
| Greeter greeter = new Greeter(); | |
| String msg = greeter.greetMessage(user); | |
| if (msg != null) { | |
| System.out.println(msg); |
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
| class Book { | |
| private String title; | |
| private String author; | |
| private int price; | |
| public Book(String title, String author, int price) { | |
| this.title = title; | |
| this.author = author; | |
| this.price = price; |
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
| class BookConsumer { | |
| public void printTheTitleOfABook(Book book) { | |
| if(!book.getTitle().isEmpty()) { | |
| System.out.println(book.getTitle()); | |
| } | |
| } | |
| } |