< prev index next >

src/java.desktop/windows/classes/sun/java2d/windows/WindowsFlags.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2008, 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) 2003, 2019, 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
*** 132,142 **** if (propString != null) { if (propString.equals("true") || propString.equals("t") || propString.equals("True") || propString.equals("T") || ! propString.equals("")) // having the prop name alone { // is equivalent to true returnVal = true; } else if (propString.equals("false") || propString.equals("f") || propString.equals("False") || --- 132,142 ---- if (propString != null) { if (propString.equals("true") || propString.equals("t") || propString.equals("True") || propString.equals("T") || ! propString.isEmpty()) // having the prop name alone { // is equivalent to true returnVal = true; } else if (propString.equals("false") || propString.equals("f") || propString.equals("False") ||
< prev index next >