code_junkie

Enforcing a coding style

Nov 12th, 2011
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. int x = y * z;
  2.  
  3. int x = y*z;
  4.  
  5. int a = b*c + d*e;
  6.  
  7. int a = b * c + d * e;
  8.  
  9. String sql = "SELECT * FROM USERS WHERE ID = ? AND NAME = ? AND IS_DELETED = 'N'";
  10.  
  11. String sql =
  12. "SELECT * " +
  13. "FROM USERS " +
  14. "WHERE ID = ? " +
  15. " AND NAME = ? " +
  16. " AND IS_DELETED = 'N'";
  17.  
  18. if(x=1) print("blah"); else print("eep!");
  19.  
  20. if (x = 1) {
  21. print("blah");
  22. } else {
  23. print("eep!");
  24. }
Add Comment
Please, Sign In to add comment