src/main/java/de/blau/android/voice/Commands.java
/**
     * Start editing a node
     * 
     * @param activity an instance of Main, if something else nothing will happen
     * @param node the Node
     */
Start editing a node

@param activity an instance of Main, if something else nothing will happen
@param node the Node
Start editing a node @param activity an instance of Main if something else nothing will happen @param node the Node
private static void edit(@Nullable Activity activity, @NonNull Node node) {
        if (activity instanceof Main) {
            ((Main) activity).edit(node);
        }
    }
private static void edit ( @ Nullable Activity activity , @ NonNull Node node ) { if ( activity instanceof Main ) { ( ( Main ) activity ) . edit ( node ) ; } }
Start editing a node
Start editing a node