Last active
August 29, 2015 14:06
-
-
Save MrAIring/c4cf3fb352f0b7bfaa91 to your computer and use it in GitHub Desktop.
Revisions
-
MrAIring revised this gist
Sep 11, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ //Как улучшить следующий код? val name: Option[String] = request.getParameter("name") if (name.isDefined) { val s = name.get.trim.toUpperCase if (s != "") { -
MrAIring revised this gist
Sep 11, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ //Как улучшить следующий код? val name: Option[String] = request.getParameter("name") if (name.isDefined) { val s = name.get.trim.toUpperCase if (s != "") { println(s) } else { -
MrAIring created this gist
Sep 11, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ //Как улучшить следующий код? val name: Option[String] = request.getParameter("name") if (name.isDefined) { val s = name.trim.toUpperCase if (s != "") { println(s) } else { println("no name value") } } else { println("no name value") }