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

Unified Diff: mojo/public/java/system/src/org/chromium/mojo/system/ResultAnd.java

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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: mojo/public/java/system/src/org/chromium/mojo/system/ResultAnd.java
diff --git a/mojo/public/java/system/src/org/chromium/mojo/system/ResultAnd.java b/mojo/public/java/system/src/org/chromium/mojo/system/ResultAnd.java
deleted file mode 100644
index 656d0d64e49f49c8478a9bb8e70394cf20693000..0000000000000000000000000000000000000000
--- a/mojo/public/java/system/src/org/chromium/mojo/system/ResultAnd.java
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 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.mojo.system;
-
-/**
- * Container that contains a mojo result and a value.
- *
- * @param <A> the type of the value.
- */
-public class ResultAnd<A> {
- private final int mMojoResult;
- private final A mValue;
-
- public ResultAnd(int result, A value) {
- this.mMojoResult = result;
- this.mValue = value;
- }
-
- /**
- * Returns the mojo result.
- */
- public int getMojoResult() {
- return mMojoResult;
- }
-
- /**
- * Returns the value.
- */
- public A getValue() {
- return mValue;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698