Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: plugins/org.chromium.sdk.wipbackend.wk120709/src/org/chromium/sdk/internal/wip/protocol/WipProtocol.java

Issue 11829027: drop old backends (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: plugins/org.chromium.sdk.wipbackend.wk120709/src/org/chromium/sdk/internal/wip/protocol/WipProtocol.java
diff --git a/plugins/org.chromium.sdk.wipbackend.wk120709/src/org/chromium/sdk/internal/wip/protocol/WipProtocol.java b/plugins/org.chromium.sdk.wipbackend.wk120709/src/org/chromium/sdk/internal/wip/protocol/WipProtocol.java
deleted file mode 100644
index e9771bed16365f59568fb246c8f7c584d36031dc..0000000000000000000000000000000000000000
--- a/plugins/org.chromium.sdk.wipbackend.wk120709/src/org/chromium/sdk/internal/wip/protocol/WipProtocol.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.sdk.internal.wip.protocol;
-
-/**
- * Main utility class of Wip protocol implementation.
- */
-public class WipProtocol {
-
- public static int parseInt(Object obj) {
- if (obj instanceof String) {
- String str = (String) obj;
- float f = Float.parseFloat(str);
- return Math.round(f);
- } else if (obj instanceof Number) {
- Number number = (Number) obj;
- return number.intValue();
- } else {
- throw new IllegalArgumentException();
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698