- actionscript: 93
- c#: 66
- javascript: 51
- java: 44
- c++: 31
- gml: 24
- lua: 15
- python: 8
This file contains 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
import com.urbancode.anthill3.dashboard.*; | |
import com.urbancode.anthill3.domain.environmentgroup.*; | |
import com.urbancode.anthill3.domain.project.*; | |
import com.urbancode.anthill3.domain.servergroup.*; | |
import com.urbancode.anthill3.domain.workflow.*; | |
import com.urbancode.anthill3.domain.lifecycle.*; | |
import com.urbancode.anthill3.domain.status.*; | |
import com.urbancode.anthill3.domain.summary.buildworkflow.*; | |
import java.util.Date; | |
import java.text.DateFormat; |
This file contains 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
<html> | |
<head> | |
<title>$reportGroup Status Board</title> | |
<meta http-equiv="refresh" content="60"> | |
<style type="text/css"> | |
body, td, th { | |
font: medium helvetica, verdana, arial, sans-serif; | |
color: #fff; | |
} |
This file contains 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 com.buildndeploy.piglatin; | |
import org.junit.Test; | |
import static org.junit.Assert.assertEquals; | |
public class TranslatorTest { | |
@Test | |
public void startsWithSingleConsanant() { |
This file contains 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 com.buildndeploy.piglatin; | |
public class Translator { | |
public String translate(String input) { | |
Character firstLetter = input.charAt(0); | |
String newString; | |
if (isVowel(firstLetter)) { | |
newString = input + "way"; |
This file contains 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 String translate(String input) { | |
Character firstLetter = input.charAt(0); | |
String newString; | |
if (isVowel(firstLetter)) { | |
newString = input + "way"; | |
} else { | |
int splitIndex = findSplitIndex(input); | |
This file contains 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 String toPiglatin(String englishWord) { | |
Character englishFirstLetter = englishWord.charAt(0); | |
String piglatinWord; | |
if (isVowel(englishFirstLetter)) { | |
piglatinWord = englishWord + "way"; | |
} else { | |
int firstVowelIndex = findFirstVowelIndex(englishWord); | |
This file contains 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 com.buildndeploy.piglatin; | |
public class Translator { | |
public String toPiglatin(String originalWord) { | |
if (startsWithVowel(originalWord)) { | |
return (simplePiglatinWord(originalWord)); | |
} else { | |
return (complexPiglatinWord(originalWord)); | |
} | |
} |
OlderNewer