Remove unnecessary code
authorSangwook Kim <swift.kim@samsung.com>
Tue, 8 Oct 2019 07:51:10 +0000 (16:51 +0900)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Wed, 9 Oct 2019 22:49:07 +0000 (07:49 +0900)
Managed/Dotnet.Launcher/Dotnet.Launcher.cs
Managed/Tizen.Init/Tizen.Init.cs

index 8beccdd..6e9d3d2 100644 (file)
@@ -14,8 +14,6 @@
  * limitations under the License.
  */
 
-using System;
-
 namespace Dotnet.Launcher
 {
     class Environment
index 97eeeeb..549516b 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 using System;
 using System.Reflection;
 using System.Runtime.Loader;
-using System.IO;
 using System.Collections.Generic;
 
 namespace Tizen.Init {
@@ -191,13 +189,12 @@ namespace Tizen.Init {
             }
         }
 
-        // CU loading makes launching time much slower.
-        // To prevent that kind of overhead, preload ICU by calling String.ToLower()
         static void PreloadLibICU()
         {
-            // to preinitialize icu, do string compare
-            if ("A".ToLower() != "a") {
-                Console.WriteLine("Failed to String.ToLower()");
+            // Simple workaround for preloading libICU.
+            if ("A".ToLower() != "a")
+            {
+                Console.WriteLine("Unreachable.");
             }
         }
     }