mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
Revert "Enable @SystemIndependent assertion only on Windows"
This reverts commit e64fe2409a.
This commit is contained in:
+1
-2
@@ -16,14 +16,13 @@
|
||||
package org.jetbrains.jps.incremental.instrumentation.internal;
|
||||
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
|
||||
/*
|
||||
A template for the synthetic method embedded by the bytecode instrumentation.
|
||||
*/
|
||||
class AssertionMethodImpl {
|
||||
private static void assertArgumentIsSystemIndependent(String className, String methodName, String parameterName, String argument) {
|
||||
if (SystemInfo.isWindows && argument != null && argument.contains("\\")) {
|
||||
if (argument != null && argument.contains("\\")) {
|
||||
String message = String.format("Argument for @SystemIndependent parameter '%s' of %s.%s must be system-independent: %s",
|
||||
parameterName, className, methodName, argument);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user