fixed getIntProperty replacement
authorEgor.Ushakov <egor.ushakov@jetbrains.com>
Wed, 2 Mar 2016 17:57:35 +0000 (20:57 +0300)
committerEgor.Ushakov <egor.ushakov@jetbrains.com>
Wed, 2 Mar 2016 17:57:35 +0000 (20:57 +0300)
platform/lang-impl/src/com/intellij/execution/impl/ConsoleBuffer.java

index 1807a0b27d7db947c8627e59cd69336c0d5b2838..8ad45fc099cc05a679b57dd50ec4ec322e3eb9e5 100644 (file)
@@ -133,7 +133,7 @@ public class ConsoleBuffer {
   }
 
   public static int getLegacyCycleBufferSize() {
-    return SystemProperties.getIntProperty("idea.cycle.buffer.size", 1024 * 1024);
+    return SystemProperties.getIntProperty("idea.cycle.buffer.size", 1024) * 1024;
   }
 
   public boolean isUseCyclicBuffer() {