Skip to content

Conversation

@emmanueldufour
Copy link
Contributor

removed some inline classes ( because they are hard to read and debug) and replaced these 4 anon classes with a single real class thereby shrinking code

removed some inline classes ( because they are hard to debug/understand and are anonymous) and replaced these 4 anon classes with a single real class thereby shrinking code
@emmanueldufour emmanueldufour marked this pull request as draft December 17, 2025 04:23
@emmanueldufour emmanueldufour marked this pull request as ready for review December 17, 2025 07:10
public final Type type;

public XDDFCategoryDataSourceImpl(CTAxDataSource categoryDS) {
this.categoryDS=categoryDS;
Copy link
Member

Choose a reason for hiding this comment

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

can you keep the whitespace?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

how ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you mean just around this = sign ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

added whitespaces as required
@emmanueldufour emmanueldufour changed the title Update XDDFDataSourcesFactory.java XDDFDataSourcesFactory.java replace anonymous classes with a real one for clarity Dec 18, 2025
Copy link
Member

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

this file has been reformatted - appears to replace the spaces used for indents with tabs, leading to a 100% diff in the file

I will not review this unless the format is fixed. It is not acceptable to reformat files in PRs with code changes - it makes the PR impossible to review.

@emmanueldufour emmanueldufour marked this pull request as draft December 19, 2025 07:38
forgot a couple function
}

public boolean isNumeric() {
return (type == Type.FROM_NUMBER_REFERENCE || type == Type.FROM_NUMBER_LITERAL);
Copy link
Member

@pjfanning pjfanning Dec 19, 2025

Choose a reason for hiding this comment

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

code will never be merged unless it is formatted correctly - 4 space indents and no tabs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

2 participants