Skip to content

Commit d99f2ee

Browse files
committed
Correct more javadocs
1 parent a3fbacd commit d99f2ee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main/java/org/spongepowered/api/config/DefaultConfig.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,23 @@
2727
import com.google.inject.BindingAnnotation;
2828
import com.google.inject.Inject;
2929
import org.spongepowered.configurate.loader.ConfigurationLoader;
30+
import org.spongepowered.configurate.reference.ConfigurationReference;
3031

31-
import java.io.File;
3232
import java.lang.annotation.ElementType;
3333
import java.lang.annotation.Retention;
3434
import java.lang.annotation.RetentionPolicy;
3535
import java.lang.annotation.Target;
3636
import java.nio.file.Path;
3737

3838
/**
39-
* Provides an convenient injection for {@link ConfigRoot#config()} or
39+
* Provides a convenient injection for {@link ConfigRoot#config()} or
4040
* {@link ConfigRoot#configPath()}.
4141
*
42-
* <p>Use this annotation on a {@link File} or {@link Path} if you want the
42+
* <p>Use this annotation on a {@link Path} if you want the
4343
* pathname to the default configuration. Or instead, use this annotation on a
44-
* {@link ConfigurationLoader} to get an instance of that. Remember that
44+
* {@link ConfigurationLoader ConfigurationLoader&lt;CommentedConigurationNode&gt;}
45+
* or {@link ConfigurationReference&lt;CommentedConigurationNode&gt;} to get a
46+
* loader/reference for a HOCON based configuration file. Remember that
4547
* {@link Inject} is also necessary.</p>
4648
*
4749
* @see ConfigManager For getting configuration without injection

0 commit comments

Comments
 (0)