< prev index next >

src/java.desktop/share/classes/java/awt/font/TextLine.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2011, 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) 1998, 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
*** 1291,1301 **** } /* * The new version requires that chunks be at the same level. */ ! private static int firstVisualChunk(int order[], byte direction[], int start, int limit) { if (order != null && direction != null) { byte dir = direction[start]; while (++start < limit && direction[start] == dir) {} --- 1291,1301 ---- } /* * The new version requires that chunks be at the same level. */ ! private static int firstVisualChunk(int[] order, byte[] direction, int start, int limit) { if (order != null && direction != null) { byte dir = direction[start]; while (++start < limit && direction[start] == dir) {}
< prev index next >