You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2015/10/21 09:05:53 UTC
[2/3] logging-log4j2 git commit: Remove redundant static finals in
interface.
Remove redundant static finals in interface.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/0b72e494
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/0b72e494
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/0b72e494
Branch: refs/heads/master
Commit: 0b72e494d9ba98538a21676be90a8d7bd2048ef7
Parents: 96c3803
Author: Matt Sicker <bo...@gmail.com>
Authored: Wed Oct 21 02:05:12 2015 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Wed Oct 21 02:05:12 2015 -0500
----------------------------------------------------------------------
.../logging/log4j/core/async/perftest/IPerfTestRunner.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0b72e494/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/IPerfTestRunner.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/IPerfTestRunner.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/IPerfTestRunner.java
index 2e4c32c..62bec14 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/IPerfTestRunner.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/IPerfTestRunner.java
@@ -19,10 +19,10 @@ package org.apache.logging.log4j.core.async.perftest;
import com.lmax.disruptor.collections.Histogram;
public interface IPerfTestRunner {
- static final String LINE100 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!\"#$%&'()-=^~|\\@`[]{};:+*,.<>/?_123456";
- static final String THROUGHPUT_MSG = LINE100 + LINE100 + LINE100 + LINE100
+ String LINE100 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!\"#$%&'()-=^~|\\@`[]{};:+*,.<>/?_123456";
+ String THROUGHPUT_MSG = LINE100 + LINE100 + LINE100 + LINE100
+ LINE100;
- static final String LATENCY_MSG = "Short msg";
+ String LATENCY_MSG = "Short msg";
void runThroughputTest(int lines, Histogram histogram);