
biz.gabrys.lesscss.extended.compiler.control.expiration.SourceAlwaysExpiredChecker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extended-compiler Show documentation
Show all versions of extended-compiler Show documentation
Extended version of the LessCSS Compiler (Java library which compiles Less source files to the CSS code).
The newest version!
/*
* Extended LessCSS Compiler
* http://lesscss-extended-compiler.projects.gabrys.biz/
*
* Copyright (c) 2015 Adam Gabryś
*
* This file is licensed under the BSD 3-Clause (the "License").
* You may not use this file except in compliance with the License.
* You may obtain:
* - a copy of the License at project page
* - a template of the License at https://opensource.org/licenses/BSD-3-Clause
*/
package biz.gabrys.lesscss.extended.compiler.control.expiration;
import biz.gabrys.lesscss.extended.compiler.source.LessSource;
/**
* Checker which always mark source files as expired.
* @since 1.0
*/
public class SourceAlwaysExpiredChecker implements SourceExpirationChecker {
/**
* Constructs a new instance.
* @since 1.0
*/
public SourceAlwaysExpiredChecker() {
// do nothing
}
/**
* Always returns {@code true}.
* @param source the source file.
* @return {@code true}.
* @since 1.0
*/
public boolean isExpired(final LessSource source) {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy