Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Fix gradle run, header comments clean up

AuthorDaveJarvis <email>
Date2020-06-24 21:15:21 GMT-0700
Commit11184932b89b03a95d671e12a4439cf7bf9f60b7
Parentccd768d
Delta15 lines added, 34 lines removed, 19-line decrease
src/main/java/com/scrivenvar/util/Action.java
/*
- * Copyright (c) 2015 Karl Tauber and White Magic Software, Ltd.
+ * Copyright 2020 Karl Tauber and White Magic Software, Ltd.
* All rights reserved.
*
/**
* Simple action class
- *
- * @author Karl Tauber
- * @author White Magic Software, Ltd.
*/
public class Action {
src/main/java/com/scrivenvar/util/ActionUtils.java
/*
- * Copyright (c) 2015 Karl Tauber
+ * Copyright 2020 Karl Tauber and White Magic Software, Ltd.
* All rights reserved.
*
/**
- * Action utilities
- *
- * @author Karl Tauber
- * @author White Magic Software, Ltd.
+ * Responsible for creating menu items and toolbar buttons.
*/
public class ActionUtils {
for( int i = 0; i < actions.length; i++ ) {
- menuItems[ i ] = (actions[ i ] != null)
- ? createMenuItem( actions[ i ] )
- : new SeparatorMenuItem();
+ menuItems[ i ] = (actions[ i ] == null)
+ ? new SeparatorMenuItem()
+ : createMenuItem( actions[ i ] );
}
src/main/java/com/scrivenvar/util/Lists.java
/*
- * Copyright 2016 White Magic Software, Ltd.
+ * Copyright 2020 White Magic Software, Ltd.
*
* All rights reserved.
/**
* Convenience class that provides a clearer API for obtaining list elements.
- *
- * @author White Magic Software, Ltd.
*/
public final class Lists {
src/main/java/com/scrivenvar/util/StageState.java
/*
- * Copyright (c) 2015 Karl Tauber <karl at jformdesigner dot com>
+ * Copyright 2020 Karl Tauber and White Magic Software, Ltd.
* All rights reserved.
*
/**
* Saves and restores Stage state (window bounds, maximized, fullScreen).
- *
- * @author Karl Tauber
*/
public class StageState {
src/main/java/com/scrivenvar/util/Utils.java
/*
- * Copyright (c) 2015 Karl Tauber <karl at jformdesigner dot com>
+ * Copyright 2020 Karl Tauber and White Magic Software, Ltd.
* All rights reserved.
*
/**
- * @author Karl Tauber and White Magic Software, Ltd.
+ * Responsible for trimming, storing, and retrieving strings.
*/
public class Utils {
src/main/java/com/scrivenvar/processors/Processor.java
/*
- * Copyright 2016 White Magic Software, Ltd.
+ * Copyright 2020 White Magic Software, Ltd.
*
* All rights reserved.
*
* @param <T> The type of processor to create.
- * @author White Magic Software, Ltd.
*/
public interface Processor<T> {
src/main/java/com/scrivenvar/processors/ProcessorFactory.java
/*
- * Copyright 2016 White Magic Software, Ltd.
+ * Copyright 2020 White Magic Software, Ltd.
*
* All rights reserved.
* Responsible for creating processors capable of parsing, transforming,
* interpolating, and rendering known file types.
- *
- * @author White Magic Software, Ltd.
*/
public class ProcessorFactory extends AbstractFileFactory {
src/main/java/com/scrivenvar/processors/RVariableProcessor.java
/*
- * Copyright 2016 White Magic Software, Ltd.
+ * Copyright 2020 White Magic Software, Ltd.
*
* All rights reserved.
* performs a substitution on the text. The default R variable syntax is
* {@code v$tree$leaf}.
- *
- * @author White Magic Software, Ltd.
*/
public class RVariableProcessor extends DefinitionProcessor {
src/main/java/com/scrivenvar/processors/XMLProcessor.java
/*
- * Copyright 2016 White Magic Software, Ltd.
+ * Copyright 2020 White Magic Software, Ltd.
*
* All rights reserved.
* The XSL must transform the XML document into Markdown, or another format
* recognized by the next link on the chain.
- *
- * @author White Magic Software, Ltd.
*/
public class XMLProcessor extends AbstractProcessor<String>
src/main/java/com/scrivenvar/Services.java
/*
- * Copyright 2016 White Magic Software, Ltd.
+ * Copyright 2020 White Magic Software, Ltd.
*
* All rights reserved.
* Responsible for loading services. The services are treated as singleton
* instances.
- *
- * @author White Magic Software, Ltd.
*/
public class Services {