jaroslav@1007: /** jaroslav@1007: * Back 2 Browser Bytecode Translator jaroslav@1007: * Copyright (C) 2012 Jaroslav Tulach jaroslav@1007: * jaroslav@1007: * This program is free software: you can redistribute it and/or modify jaroslav@1007: * it under the terms of the GNU General Public License as published by jaroslav@1007: * the Free Software Foundation, version 2 of the License. jaroslav@1007: * jaroslav@1007: * This program is distributed in the hope that it will be useful, jaroslav@1007: * but WITHOUT ANY WARRANTY; without even the implied warranty of jaroslav@1007: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jaroslav@1007: * GNU General Public License for more details. jaroslav@1007: * jaroslav@1007: * You should have received a copy of the GNU General Public License jaroslav@1007: * along with this program. Look for COPYING file in the top folder. jaroslav@1007: * If not, see http://opensource.org/licenses/GPL-2.0. jaroslav@1007: */ jaroslav@1007: jaroslav@1007: package org.apidesign.bck2brwsr.launcher.impl; jaroslav@1007: jaroslav@1007: /** jaroslav@1007: * jaroslav@1007: * @author Jaroslav Tulach jaroslav@1007: */ jaroslav@1007: public final class Run implements Runnable { jaroslav@1007: private final Runnable r; jaroslav@1007: Run(Runnable r) { jaroslav@1007: this.r = r; jaroslav@1007: } jaroslav@1007: jaroslav@1007: @Override jaroslav@1007: public void run() { jaroslav@1007: r.run(); jaroslav@1007: } jaroslav@1007: }