mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[java-rt] FileComparisonFailure: dump incorrect file path
GitOrigin-RevId: 788594ddfae494a55a94d845daadcbad51f9dde5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d1a3122faa
commit
d1a8762c10
@@ -27,7 +27,10 @@ public class FileComparisonFailure extends ComparisonFailure implements FileComp
|
||||
myExpected = expected;
|
||||
myActual = actual;
|
||||
myFilePath = expectedFilePath;
|
||||
if (expectedFilePath != null && !new File(expectedFilePath).isFile()) throw new NullPointerException("'expectedFilePath' should point to the existing file or be null");
|
||||
if (expectedFilePath != null && !new File(expectedFilePath).isFile()) {
|
||||
throw new NullPointerException("'expectedFilePath' should point to the existing file or be null; got: "
|
||||
+ expectedFilePath);
|
||||
}
|
||||
myActualFilePath = actualFilePath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user