Skip to content

Conversation

saksham93
Copy link
Contributor

Pull request title

Abstract document add module info file. Refers to #1047

Pull request description

Added module-info.java file in Abstract Document Design pattern.

If this is the correct way, will add it to more design patterns.

@saksham93
Copy link
Contributor Author

@iluwatar Can you please suggest if this PR is ok? Thank you.

@@ -0,0 +1,2 @@
module abstractdocument.modules {
} No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

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

I would prefer format like this:

module com.iluwatar.abstractdocument {
}

Copy link
Owner

Choose a reason for hiding this comment

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

The build is failing with package org.slf4j is not visible (package org.slf4j is declared in the unnamed module, but module org.slf4j does not read it)

To fix it you need to declare something like this inside the module-info:
requires org.slf4j;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@iluwatar Thank you for your comments. I have done the required changes. Can you please suggest?

@saksham93 saksham93 requested a review from iluwatar January 5, 2020 05:31
@iluwatar iluwatar added this to the 1.23.0 milestone Jan 11, 2020
@iluwatar iluwatar merged commit c7c8940 into iluwatar:master Jan 11, 2020
@iluwatar
Copy link
Owner

#1047

@iluwatar
Copy link
Owner

Thanks @saksham93, first one down only a few to go! ☺️

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants