Skip to content

changed uploadFile to recordFile - #124

Merged
viaduct12 merged 1 commit into
masterfrom
code-refactor
May 6, 2022
Merged

changed uploadFile to recordFile#124
viaduct12 merged 1 commit into
masterfrom
code-refactor

Conversation

@viaduct12

Copy link
Copy Markdown
Contributor

No description provided.

@viaduct12
viaduct12 merged commit f844f1c into master May 6, 2022
* @return The resource in the provenance record associated with the upload activity
*/
public static Resource uploadFile(ProvMgr provMgr, String sourceEntityURI,
public static Resource recordFile(ProvMgr provMgr, String sourceEntityURI,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck> reported by reviewdog 🐶
'method def modifier' has incorrect indentation level 4, expected level should be 2.

* @return The resource in the provenance record associated with the upload activity
*/
public static Resource uploadFile(ProvMgr provMgr, String sourceEntityURI,
public static Resource recordFile(ProvMgr provMgr, String sourceEntityURI,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck> reported by reviewdog 🐶
Abbreviation in name 'sourceEntityURI' must contain no more than '1' consecutive capital letters.

if (provMgr != null) {
Long startTime = System.currentTimeMillis();
WorkbenchOperationRecorder.uploadFile(provMgr, scriptPath, remoteScriptPath,
WorkbenchOperationRecorder.recordFile(provMgr, scriptPath, remoteScriptPath,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck> reported by reviewdog 🐶
'if' child has incorrect indentation level 20, expected level should be 10.

| IOException ex) {
}
WorkbenchOperationRecorder.uploadFile(provMgr, nListFilename,
WorkbenchOperationRecorder.recordFile(provMgr, nListFilename,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck> reported by reviewdog 🐶
'if' child has incorrect indentation level 32, expected level should be 16.

if (provMgr != null) {
Long startTime = System.currentTimeMillis();
WorkbenchOperationRecorder.uploadFile(provMgr, simConfigFilename,
WorkbenchOperationRecorder.recordFile(provMgr, simConfigFilename,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck> reported by reviewdog 🐶
'if' child has incorrect indentation level 28, expected level should be 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant