Skip to content

Commit

Permalink
Merge pull request nus-cs2103-AY2425S1#46 from luileng/branch-Change-…
Browse files Browse the repository at this point in the history
…Package-Name

Rename package name from seedu.address to tuteez
  • Loading branch information
curtischang2510 authored Oct 2, 2024
2 parents f391a2e + 13492b0 commit 0da8fe4
Show file tree
Hide file tree
Showing 143 changed files with 777 additions and 777 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id 'jacoco'
}

mainClassName = 'seedu.address.Main'
mainClassName = 'tuteez.Main'

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand Down
2 changes: 1 addition & 1 deletion docs/SettingUp.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you plan to use Intellij IDEA (highly recommended):
Note: Importing a Gradle project is slightly different from importing a normal Java project.
</box>
1. **Verify the setup**:
1. Run the `seedu.address.Main` and try a few commands.
1. Run the `tuteez.Main` and try a few commands.
1. [Run the tests](Testing.md) to ensure they all pass.

--------------------------------------------------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/Testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ There are two ways to run tests.
This project has three types of tests:

1. *Unit tests* targeting the lowest level methods/classes.<br>
e.g. `seedu.address.commons.StringUtilTest`
e.g. `tuteez.commons.StringUtilTest`
1. *Integration tests* that are checking the integration of multiple code units (those code units are assumed to be working).<br>
e.g. `seedu.address.storage.StorageManagerTest`
e.g. `tuteez.storage.StorageManagerTest`
1. Hybrids of unit and integration tests. These test are checking multiple code units as well as how the are connected together.<br>
e.g. `seedu.address.logic.LogicManagerTest`
e.g. `tuteez.logic.LogicManagerTest`
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address;
package tuteez;

import java.nio.file.Path;
import java.nio.file.Paths;
Expand All @@ -7,9 +7,9 @@
import java.util.logging.Logger;

import javafx.application.Application;
import seedu.address.commons.core.LogsCenter;
import seedu.address.commons.util.FileUtil;
import seedu.address.commons.util.ToStringBuilder;
import tuteez.commons.core.LogsCenter;
import tuteez.commons.util.FileUtil;
import tuteez.commons.util.ToStringBuilder;

/**
* Represents the parsed command-line parameters given to the application.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package seedu.address;
package tuteez;

import java.util.logging.Logger;

import javafx.application.Application;
import seedu.address.commons.core.LogsCenter;
import tuteez.commons.core.LogsCenter;

/**
* The main entry point to the application.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address;
package tuteez;

import java.io.IOException;
import java.nio.file.Path;
Expand All @@ -7,29 +7,29 @@

import javafx.application.Application;
import javafx.stage.Stage;
import seedu.address.commons.core.Config;
import seedu.address.commons.core.LogsCenter;
import seedu.address.commons.core.Version;
import seedu.address.commons.exceptions.DataLoadingException;
import seedu.address.commons.util.ConfigUtil;
import seedu.address.commons.util.StringUtil;
import seedu.address.logic.Logic;
import seedu.address.logic.LogicManager;
import seedu.address.model.AddressBook;
import seedu.address.model.Model;
import seedu.address.model.ModelManager;
import seedu.address.model.ReadOnlyAddressBook;
import seedu.address.model.ReadOnlyUserPrefs;
import seedu.address.model.UserPrefs;
import seedu.address.model.util.SampleDataUtil;
import seedu.address.storage.AddressBookStorage;
import seedu.address.storage.JsonAddressBookStorage;
import seedu.address.storage.JsonUserPrefsStorage;
import seedu.address.storage.Storage;
import seedu.address.storage.StorageManager;
import seedu.address.storage.UserPrefsStorage;
import seedu.address.ui.Ui;
import seedu.address.ui.UiManager;
import tuteez.commons.core.Config;
import tuteez.commons.core.LogsCenter;
import tuteez.commons.core.Version;
import tuteez.commons.exceptions.DataLoadingException;
import tuteez.commons.util.ConfigUtil;
import tuteez.commons.util.StringUtil;
import tuteez.logic.Logic;
import tuteez.logic.LogicManager;
import tuteez.model.AddressBook;
import tuteez.model.Model;
import tuteez.model.ModelManager;
import tuteez.model.ReadOnlyAddressBook;
import tuteez.model.ReadOnlyUserPrefs;
import tuteez.model.UserPrefs;
import tuteez.model.util.SampleDataUtil;
import tuteez.storage.AddressBookStorage;
import tuteez.storage.JsonAddressBookStorage;
import tuteez.storage.JsonUserPrefsStorage;
import tuteez.storage.Storage;
import tuteez.storage.StorageManager;
import tuteez.storage.UserPrefsStorage;
import tuteez.ui.Ui;
import tuteez.ui.UiManager;

/**
* Runs the application.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package seedu.address.commons.core;
package tuteez.commons.core;

import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Objects;
import java.util.logging.Level;

import seedu.address.commons.util.ToStringBuilder;
import tuteez.commons.util.ToStringBuilder;

/**
* Config values used by the app
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package seedu.address.commons.core;
package tuteez.commons.core;

import java.awt.Point;
import java.io.Serializable;
import java.util.Objects;

import seedu.address.commons.util.ToStringBuilder;
import tuteez.commons.util.ToStringBuilder;

/**
* A Serializable class that contains the GUI settings.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.core;
package tuteez.commons.core;

import static java.util.Objects.requireNonNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.core;
package tuteez.commons.core;

import java.util.regex.Matcher;
import java.util.regex.Pattern;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package seedu.address.commons.core.index;
package tuteez.commons.core.index;

import seedu.address.commons.util.ToStringBuilder;
import tuteez.commons.util.ToStringBuilder;

/**
* Represents a zero-based or one-based index.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.exceptions;
package tuteez.commons.exceptions;

/**
* Represents an error during loading of data from a file.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.exceptions;
package tuteez.commons.exceptions;

/**
* Signals that some given data does not fulfill some constraints.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package seedu.address.commons.util;
package tuteez.commons.util;

import static java.util.Objects.requireNonNull;

import javafx.scene.image.Image;
import seedu.address.MainApp;
import tuteez.MainApp;

/**
* A container for App specific utility functions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.util;
package tuteez.commons.util;

import static java.util.Objects.requireNonNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package seedu.address.commons.util;
package tuteez.commons.util;

import java.io.IOException;
import java.nio.file.Path;
import java.util.Optional;

import seedu.address.commons.core.Config;
import seedu.address.commons.exceptions.DataLoadingException;
import tuteez.commons.core.Config;
import tuteez.commons.exceptions.DataLoadingException;

/**
* A class for accessing the Config File.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.util;
package tuteez.commons.util;

import java.io.IOException;
import java.nio.file.Files;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.util;
package tuteez.commons.util;

import static java.util.Objects.requireNonNull;

Expand All @@ -20,8 +20,8 @@
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import seedu.address.commons.core.LogsCenter;
import seedu.address.commons.exceptions.DataLoadingException;
import tuteez.commons.core.LogsCenter;
import tuteez.commons.exceptions.DataLoadingException;

/**
* Converts a Java object instance to JSON and vice versa
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package seedu.address.commons.util;
package tuteez.commons.util;

import static java.util.Objects.requireNonNull;
import static seedu.address.commons.util.AppUtil.checkArgument;
import static tuteez.commons.util.AppUtil.checkArgument;

import java.io.PrintWriter;
import java.io.StringWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package seedu.address.commons.util;
package tuteez.commons.util;

/**
* Builds a string representation of an object that is suitable as the return value of {@link Object#toString()}.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package seedu.address.logic;
package tuteez.logic;

import java.nio.file.Path;

import javafx.collections.ObservableList;
import seedu.address.commons.core.GuiSettings;
import seedu.address.logic.commands.CommandResult;
import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.logic.parser.exceptions.ParseException;
import seedu.address.model.ReadOnlyAddressBook;
import seedu.address.model.person.Person;
import tuteez.commons.core.GuiSettings;
import tuteez.logic.commands.CommandResult;
import tuteez.logic.commands.exceptions.CommandException;
import tuteez.logic.parser.exceptions.ParseException;
import tuteez.model.ReadOnlyAddressBook;
import tuteez.model.person.Person;

/**
* API of the Logic component
Expand All @@ -26,7 +26,7 @@ public interface Logic {
/**
* Returns the AddressBook.
*
* @see seedu.address.model.Model#getAddressBook()
* @see tuteez.model.Model#getAddressBook()
*/
ReadOnlyAddressBook getAddressBook();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
package seedu.address.logic;
package tuteez.logic;

import java.io.IOException;
import java.nio.file.AccessDeniedException;
import java.nio.file.Path;
import java.util.logging.Logger;

import javafx.collections.ObservableList;
import seedu.address.commons.core.GuiSettings;
import seedu.address.commons.core.LogsCenter;
import seedu.address.logic.commands.Command;
import seedu.address.logic.commands.CommandResult;
import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.logic.parser.AddressBookParser;
import seedu.address.logic.parser.exceptions.ParseException;
import seedu.address.model.Model;
import seedu.address.model.ReadOnlyAddressBook;
import seedu.address.model.person.Person;
import seedu.address.storage.Storage;
import tuteez.commons.core.GuiSettings;
import tuteez.commons.core.LogsCenter;
import tuteez.logic.commands.Command;
import tuteez.logic.commands.CommandResult;
import tuteez.logic.commands.exceptions.CommandException;
import tuteez.logic.parser.AddressBookParser;
import tuteez.logic.parser.exceptions.ParseException;
import tuteez.model.Model;
import tuteez.model.ReadOnlyAddressBook;
import tuteez.model.person.Person;
import tuteez.storage.Storage;

/**
* The main LogicManager of the app.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package seedu.address.logic;
package tuteez.logic;

import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;

import seedu.address.logic.parser.Prefix;
import seedu.address.model.person.Person;
import tuteez.logic.parser.Prefix;
import tuteez.model.person.Person;

/**
* Container for user visible messages.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package seedu.address.logic.commands;
package tuteez.logic.commands;

import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address.logic.parser.CliSyntax.PREFIX_PHONE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG;
import static tuteez.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static tuteez.logic.parser.CliSyntax.PREFIX_EMAIL;
import static tuteez.logic.parser.CliSyntax.PREFIX_NAME;
import static tuteez.logic.parser.CliSyntax.PREFIX_PHONE;
import static tuteez.logic.parser.CliSyntax.PREFIX_TAG;

import seedu.address.commons.util.ToStringBuilder;
import seedu.address.logic.Messages;
import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.model.Model;
import seedu.address.model.person.Person;
import tuteez.commons.util.ToStringBuilder;
import tuteez.logic.Messages;
import tuteez.logic.commands.exceptions.CommandException;
import tuteez.model.Model;
import tuteez.model.person.Person;

/**
* Adds a person to the address book.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package seedu.address.logic.commands;
package tuteez.logic.commands;

import static java.util.Objects.requireNonNull;

import seedu.address.model.AddressBook;
import seedu.address.model.Model;
import tuteez.model.AddressBook;
import tuteez.model.Model;

/**
* Clears the address book.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package seedu.address.logic.commands;
package tuteez.logic.commands;

import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.model.Model;
import tuteez.logic.commands.exceptions.CommandException;
import tuteez.model.Model;

/**
* Represents a command with hidden internal logic and the ability to be executed.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package seedu.address.logic.commands;
package tuteez.logic.commands;

import static java.util.Objects.requireNonNull;

import java.util.Objects;

import seedu.address.commons.util.ToStringBuilder;
import tuteez.commons.util.ToStringBuilder;

/**
* Represents the result of a command execution.
Expand Down
Loading

0 comments on commit 0da8fe4

Please sign in to comment.