jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FSchumacher <...@git.apache.org>
Subject [GitHub] jmeter pull request #300: Bug 57039 - Inconsistency with the undo/redo log
Date Sun, 30 Jul 2017 08:33:31 GMT
Github user FSchumacher commented on a diff in the pull request:

    https://github.com/apache/jmeter/pull/300#discussion_r130235928
  
    --- Diff: src/core/org/apache/jmeter/gui/TreeState.java ---
    @@ -0,0 +1,84 @@
    +package org.apache.jmeter.gui;
    +
    +import java.util.ArrayList;
    +import java.util.List;
    +import javax.swing.JTree;
    +
    +public interface TreeState {
    +
    +    /**
    +     * Restore tree expanded and selected state
    +     *
    +     * @param guiInstance GuiPackage to be used
    +     */
    +    void restore(GuiPackage guiInstance);
    +
    +    final static TreeState NOTHING = new TreeState() {
    --- End diff --
    
    `static final` to conform with java conventions and the anonymous class implementing `NOTHING`
could be rewritten as a lambda function.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message