< prev index next >

src/java.base/share/classes/java/lang/invoke/ConstantGroup.java

Print this page
rev 58552 : [mq]: 8241727-Typos-empty-lines-in-javadoc-inconsistent-indents-etc

*** 1,7 **** /* ! * Copyright (c) 2017, 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) 2017, 2020, 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
*** 133,145 **** * After a normal return from {@link #get(int)} or a present * value is reported from {@link #get(int,Object)}, this method * must always return true. * <p> * If this method returns {@code false}, nothing in particular ! * can be inferred, since the query only concerns the internal * logic of the {@code ConstantGroup} object which ensures that ! a successful * query to a constant will always remain successful. * The only way to force a permanent decision about whether * a constant is available is to call {@link #get(int)} and * be ready for an exception if the constant is unavailable. * @param index the selected constant * @return {@code true} if the selected constant is known by --- 133,145 ---- * After a normal return from {@link #get(int)} or a present * value is reported from {@link #get(int,Object)}, this method * must always return true. * <p> * If this method returns {@code false}, nothing in particular ! * can be inferred, since the query only concerns the internal * logic of the {@code ConstantGroup} object which ensures that ! * a successful query to a constant will always remain successful. * The only way to force a permanent decision about whether * a constant is available is to call {@link #get(int)} and * be ready for an exception if the constant is unavailable. * @param index the selected constant * @return {@code true} if the selected constant is known by
< prev index next >