< prev index next >

src/java.desktop/share/classes/javax/sound/sampled/Line.java

Print this page
rev 57600 : 8236980: toString() cleanup in JavaSound
Reviewed-by: XXX

*** 1,7 **** /* ! * Copyright (c) 1999, 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 --- 1,7 ---- /* ! * Copyright (c) 1999, 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
*** 316,328 **** return true; } /** ! * Obtains a textual description of the line info. * ! * @return a string description */ @Override public String toString() { final String str = getLineClass().toString(); if (getLineClass().getPackage() == Line.class.getPackage()) { --- 316,328 ---- return true; } /** ! * Returns a string representation of the info object. * ! * @return a string representation of the info object */ @Override public String toString() { final String str = getLineClass().toString(); if (getLineClass().getPackage() == Line.class.getPackage()) {
< prev index next >