2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-25 16:27:11 -07:00

Minor cleanup

This commit is contained in:
Geert Bevin 2023-05-11 13:49:08 -04:00
parent ec683311b8
commit 5fa1f42f31
3 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ public abstract class AbstractCreateOperation<T extends AbstractCreateOperation<
* @since 1.5 * @since 1.5
*/ */
public void execute() public void execute()
throws FileUtilsErrorException, IOException { throws IOException {
if (packageName() == null || projectName() == null) { if (packageName() == null || projectName() == null) {
System.err.println("ERROR: Missing package or project name."); System.err.println("ERROR: Missing package or project name.");
return; return;
@ -179,7 +179,7 @@ public abstract class AbstractCreateOperation<T extends AbstractCreateOperation<
* @since 1.5 * @since 1.5
*/ */
protected void executePopulateProjectStructure() protected void executePopulateProjectStructure()
throws FileUtilsErrorException, IOException { throws IOException {
// project gitignore // project gitignore
FileUtils.writeString( FileUtils.writeString(
TemplateFactory.TXT.get(templateBase_ + "project_gitignore").getContent(), TemplateFactory.TXT.get(templateBase_ + "project_gitignore").getContent(),

View file

@ -50,7 +50,7 @@ public class CreateRife2Operation extends AbstractCreateOperation<CreateRife2Ope
@Override @Override
protected void executePopulateProjectStructure() protected void executePopulateProjectStructure()
throws FileUtilsErrorException, IOException { throws IOException {
super.executePopulateProjectStructure(); super.executePopulateProjectStructure();
// project site uber // project site uber

View file

@ -367,7 +367,7 @@ public class PublishOperation extends AbstractOperation<PublishOperation> {
* @since 1.5.18 * @since 1.5.18
*/ */
protected void executeTransferArtifact(Repository repository, File file, String path) protected void executeTransferArtifact(Repository repository, File file, String path)
throws FileUtilsErrorException, IOException { throws IOException {
if (repository.isLocal()) { if (repository.isLocal()) {
executeStoreArtifact(repository, file, path); executeStoreArtifact(repository, file, path);
} else { } else {
@ -384,7 +384,7 @@ public class PublishOperation extends AbstractOperation<PublishOperation> {
* @since 1.5.18 * @since 1.5.18
*/ */
protected void executeTransferArtifact(Repository repository, String content, String path) protected void executeTransferArtifact(Repository repository, String content, String path)
throws FileUtilsErrorException, IOException { throws IOException {
if (repository.isLocal()) { if (repository.isLocal()) {
executeStoreArtifact(repository, content, path); executeStoreArtifact(repository, content, path);
} else { } else {