Skip to content

Commit

Permalink
Fix checkstyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Mar 28, 2024
1 parent b31b11f commit 72cbafc
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,25 @@
*/
public class EclipsePythonSourceFileModule extends SourceFileModule {

protected final IFile f;
protected final IFile file;

public EclipsePythonSourceFileModule(IFile f) {
super(f == null ? null : new File(f.getFullPath().toOSString()), f == null ? null : f.getName(), null);
this.f = f;
public EclipsePythonSourceFileModule(IFile file) {
super(file == null ? null : new File(file.getFullPath().toOSString()), file == null ? null : file.getName(), null);
this.file = file;
}

public IFile getIFile() {
return f;
return this.file;
}

@Override
public String toString() {
return this.getClass().getSimpleName() + ":" + getFile().toString();
return this.getClass().getSimpleName() + ":" + this.getFile().toString();
}

/**
* {@inheritDoc}
*
* @implNote We consider the name of the Python file as the "class name."
*/
@Override
Expand All @@ -38,6 +40,8 @@ public String getClassName() {
}

/**
* {@inheritDoc}
*
* @implNote We consider the full name of the Python file as its "name."
*/
@Override
Expand Down

0 comments on commit 72cbafc

Please sign in to comment.