DessertToppingFloorWaxDriver.java revision 1088:7e62d98d4625
1139825Simp/* 251441Swpaul * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 338363Swpaul * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 438363Swpaul * 538363Swpaul * This code is free software; you can redistribute it and/or modify it 638363Swpaul * under the terms of the GNU General Public License version 2 only, as 738363Swpaul * published by the Free Software Foundation. Oracle designates this 838363Swpaul * particular file as subject to the "Classpath" exception as provided 938363Swpaul * by Oracle in the LICENSE file that accompanied this code. 1038363Swpaul * 1138363Swpaul * This code is distributed in the hope that it will be useful, but WITHOUT 1238363Swpaul * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1338363Swpaul * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1438363Swpaul * version 2 for more details (a copy is included in the LICENSE file that 1538363Swpaul * accompanied this code). 1638363Swpaul * 1738363Swpaul * You should have received a copy of the GNU General Public License version 1838363Swpaul * 2 along with this work; if not, write to the Free Software Foundation, 1938363Swpaul * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2038363Swpaul * 2138363Swpaul * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2238363Swpaul * or visit www.oracle.com if you need additional information or have any 2338363Swpaul * questions. 2438363Swpaul */ 2538363Swpaul 2638363Swpaulpackage jdk.nashorn.test.models; 2738363Swpaul 2838363Swpaul@SuppressWarnings("javadoc") 2938363Swpaulpublic class DessertToppingFloorWaxDriver { 3038363Swpaul public void decorateDessert(final DessertTopping dt) { 3138363Swpaul dt.pourOnDessert(); 3238363Swpaul } 33122678Sobrien 34122678Sobrien public void waxFloor(final FloorWax fw) { 35122678Sobrien fw.shineUpTheFloor(); 3638363Swpaul } 3738363Swpaul} 3838363Swpaul