mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-25 08:17:11 -07:00
Minor cleanup
This commit is contained in:
parent
ec683311b8
commit
5fa1f42f31
3 changed files with 5 additions and 5 deletions
|
@ -60,7 +60,7 @@ public abstract class AbstractCreateOperation<T extends AbstractCreateOperation<
|
|||
* @since 1.5
|
||||
*/
|
||||
public void execute()
|
||||
throws FileUtilsErrorException, IOException {
|
||||
throws IOException {
|
||||
if (packageName() == null || projectName() == null) {
|
||||
System.err.println("ERROR: Missing package or project name.");
|
||||
return;
|
||||
|
@ -179,7 +179,7 @@ public abstract class AbstractCreateOperation<T extends AbstractCreateOperation<
|
|||
* @since 1.5
|
||||
*/
|
||||
protected void executePopulateProjectStructure()
|
||||
throws FileUtilsErrorException, IOException {
|
||||
throws IOException {
|
||||
// project gitignore
|
||||
FileUtils.writeString(
|
||||
TemplateFactory.TXT.get(templateBase_ + "project_gitignore").getContent(),
|
||||
|
|
|
@ -50,7 +50,7 @@ public class CreateRife2Operation extends AbstractCreateOperation<CreateRife2Ope
|
|||
|
||||
@Override
|
||||
protected void executePopulateProjectStructure()
|
||||
throws FileUtilsErrorException, IOException {
|
||||
throws IOException {
|
||||
super.executePopulateProjectStructure();
|
||||
|
||||
// project site uber
|
||||
|
|
|
@ -367,7 +367,7 @@ public class PublishOperation extends AbstractOperation<PublishOperation> {
|
|||
* @since 1.5.18
|
||||
*/
|
||||
protected void executeTransferArtifact(Repository repository, File file, String path)
|
||||
throws FileUtilsErrorException, IOException {
|
||||
throws IOException {
|
||||
if (repository.isLocal()) {
|
||||
executeStoreArtifact(repository, file, path);
|
||||
} else {
|
||||
|
@ -384,7 +384,7 @@ public class PublishOperation extends AbstractOperation<PublishOperation> {
|
|||
* @since 1.5.18
|
||||
*/
|
||||
protected void executeTransferArtifact(Repository repository, String content, String path)
|
||||
throws FileUtilsErrorException, IOException {
|
||||
throws IOException {
|
||||
if (repository.isLocal()) {
|
||||
executeStoreArtifact(repository, content, path);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue