< prev index next >

src/share/classes/java/awt/image/FilteredImageSource.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2003, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 169,179 **** * and its behavior if called from user code is unspecified. * * @param ic the consumer for the filtered image * @see ImageConsumer */ ! public void startProduction(ImageConsumer ic) { if (proxies == null) { proxies = new Hashtable(); } ImageFilter imgf = (ImageFilter) proxies.get(ic); if (imgf == null) { --- 169,179 ---- * and its behavior if called from user code is unspecified. * * @param ic the consumer for the filtered image * @see ImageConsumer */ ! public synchronized void startProduction(ImageConsumer ic) { if (proxies == null) { proxies = new Hashtable(); } ImageFilter imgf = (ImageFilter) proxies.get(ic); if (imgf == null) {
*** 196,206 **** * It should not be called from user code, * and its behavior if called from user code is unspecified. * * @see ImageConsumer */ ! public void requestTopDownLeftRightResend(ImageConsumer ic) { if (proxies != null) { ImageFilter imgf = (ImageFilter) proxies.get(ic); if (imgf != null) { imgf.resendTopDownLeftRight(src); } --- 196,206 ---- * It should not be called from user code, * and its behavior if called from user code is unspecified. * * @see ImageConsumer */ ! public synchronized void requestTopDownLeftRightResend(ImageConsumer ic) { if (proxies != null) { ImageFilter imgf = (ImageFilter) proxies.get(ic); if (imgf != null) { imgf.resendTopDownLeftRight(src); }
< prev index next >