Skip to content

Instantly share code, notes, and snippets.

@MoriTanosuke
Created October 7, 2010 16:29
Show Gist options
  • Save MoriTanosuke/615394 to your computer and use it in GitHub Desktop.
Save MoriTanosuke/615394 to your computer and use it in GitHub Desktop.
package de.kopis.katas;
public class CoverMeSimple {
public int simple(int x, int y) {
int z = x;
if(y > x) {
z = y;
} else {
}
z *= 2;
return z;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment