OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * boilerpipe | 6 * boilerpipe |
7 * | 7 * |
8 * Copyright (c) 2009, 2010 Christian Kohlschütter | 8 * Copyright (c) 2009, 2010 Christian Kohlschütter |
9 * | 9 * |
10 * The author licenses this file to You under the Apache License, Version 2.0 | 10 * The author licenses this file to You under the Apache License, Version 2.0 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 | 44 |
45 protected final void addLabelsTo(final TextBlock tb) { | 45 protected final void addLabelsTo(final TextBlock tb) { |
46 tb.addLabels(labels); | 46 tb.addLabels(labels); |
47 } | 47 } |
48 | 48 |
49 public String[] getLabels() { | 49 public String[] getLabels() { |
50 return labels; | 50 return labels; |
51 } | 51 } |
52 | 52 |
| 53 @Override |
53 public String toString() { | 54 public String toString() { |
54 return super.toString()+"{"+Arrays.asList(labels)+"}"; | 55 return super.toString()+"{"+Arrays.asList(labels)+"}"; |
55 } | 56 } |
56 } | 57 } |
OLD | NEW |