mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8202947: Fix minor issues with taglets
Reviewed-by: ksrini
This commit is contained in:
parent
751d742516
commit
d27d4d8df4
34 changed files with 757 additions and 1120 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 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
|
||||
|
@ -142,7 +142,7 @@ public class ToolBox {
|
|||
// report first difference
|
||||
for (int i = 0; i < Math.min(l1.size(), l2.size()); i++) {
|
||||
String s1 = l1.get(i);
|
||||
String s2 = l1.get(i);
|
||||
String s2 = l2.get(i);
|
||||
if (!Objects.equals(s1, s2)) {
|
||||
throw new Error("comparison failed, index " + i +
|
||||
", (" + s1 + ":" + s2 + ")");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue