Skip to content

Commit

Permalink
javadocs push
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekyShiva committed Jan 26, 2020
1 parent 38ae5c5 commit 72b837f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ src/ArgsClassDiagram.ucls

### JavaDocs :zap:

To understand the code better follow the [JavaDocs]() given for the code.
To understand the code better follow the [JavaDocs](https://raw.githack.com/GeekyShiva/Assignment-1/master/doc/index.html) given for the code.

*JavaDocs for tests are not available so as to reduce the on-screen clutter of code and I have tried to make classes/methods/ arg names to be more descriptive in-order to save the clutter*

Expand Down
14 changes: 7 additions & 7 deletions src/com/cleancoder/args/Args.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/**
* <a href = "https://github.com/raghavmittal101/se-project/tree/dev">Link to Github Repo of this package.</a>
* @author Raghav Mittal
* <a href = "https://github.com/GeekyShiva/Assignment-1">Link to Github Repo of this package.</a>
* @author Shivang Shekhar
*/

package com.cleancoder.args;
Expand All @@ -15,7 +15,7 @@
import java.util.Map;

/**
* This is the root class. All other methods
* This is the root class of all classes and all other methods
are invoked either directly or indirectly from this class.
* @see Args
* @see ArgsData
Expand Down Expand Up @@ -63,7 +63,7 @@ private void parseArgumentStrings(List<String> argsList) throws ArgsException {
/**
* Passes the {@code elementId}(s) extracted from {@code args}
to {@link com.cleancoder.args.Args#parseArgumentCharacter parseArgumentCharacter} method.
* @param argChars List of {@code elementId}s extracted from {@code args} string.
* @param argChars List of {@code elementId}s extracted from {@code args} and of type string.
* @throws ArgsException {@link com.cleancoder.args.ArgsException}
*/
private void parseArgumentCharacters(String argChars) throws ArgsException {
Expand All @@ -73,9 +73,9 @@ private void parseArgumentCharacters(String argChars) throws ArgsException {
}

/**
* Checks if the
* This method checks if the
* Validates {@code elementId} character given in command line argument
* to check if there exists a matching schema.
* to check if there exists a matching schema for the same.
* @param argChar schema given in command line input
* @throws ArgsException {@code UNEXPECTED_ARGUMENT} if flag don't match with schema.
* @see com.cleancoder.args.ArgsData#argsFound method.
Expand All @@ -95,7 +95,7 @@ private void parseArgumentCharacter(char argChar) throws ArgsException {
* If {@code True} then {@code marshaler} corresponding to that {@code elementId} is executed.
* @param argChar element from list of {@code elementId}(s) extracted from {@code args} string.
* @return m Marshaler method if specified in the map for given
{@code argChar} else returns null.
{@code argChar} else returns a null.
* @throws ArgsException {@link com.cleancoder.args.ArgsException}
* @see com.cleancoder.args.ArgsData
*/
Expand Down
2 changes: 1 addition & 1 deletion src/com/cleancoder/args/ArgsData.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/**
* This class is responsible for processing the {@code schema} argument
in {@link com.cleancoder.args.Args#Args Args} constructor and creating mappings between
in {@link com.cleancoder.args.Args#Args Args} constructor and creating mappings of
schemas and marshalers.
* @see com.cleancoder.args.Args
*/
Expand Down
2 changes: 1 addition & 1 deletion src/com/cleancoder/args/ArgsException.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public String errorMessage() {
}

/**
* List of enums for different exceptions.
* List of ENUMS for different exceptions.
*/
public enum ErrorCode {
OK, INVALID_ARGUMENT_FORMAT, UNEXPECTED_ARGUMENT, INVALID_ARGUMENT_NAME,
Expand Down
29 changes: 0 additions & 29 deletions src/com/cleancoder/args/JunkFile.md

This file was deleted.

0 comments on commit 72b837f

Please sign in to comment.