Skip to content

Commit

Permalink
Refactored model packages
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Aug 29, 2024
1 parent f371639 commit 85f54e4
Show file tree
Hide file tree
Showing 70 changed files with 122 additions and 90 deletions.
24 changes: 24 additions & 0 deletions .palantir/revapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,48 @@ acceptedBreaks:
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.parameter.Feature"
justification: "updated_validation"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.parameter.Filename"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.parameter.Label"
justification: "updated_validation"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.CalStart"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.CalStartFactory"
justification: "major_version_update"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.LicLocation"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.LicLocationFactory"
justification: "major_version_update"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrAlarmId"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrAlarmIdFactory"
justification: "major_version_update"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrCalDesc"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrCalDescFactory"
justification: "major_version_update"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrCalName"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrCalNameFactory"
justification: "major_version_update"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrRelCalId"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrTimezone"
justification: "model_package_refactoring"
- code: "java.class.removed"
old: "class net.fortuna.ical4j.extensions.property.WrTimezoneFactory"
justification: "major_version_update"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/
package net.fortuna.ical4j.extensions

import net.fortuna.ical4j.extensions.property.*
import net.fortuna.ical4j.extensions.model.property.*
import net.fortuna.ical4j.model.PropertyFactoryWrapper

/**
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
requires org.threeten.extra;
requires static org.codehaus.groovy;

exports net.fortuna.ical4j.extensions.alarm;
exports net.fortuna.ical4j.extensions.model.alarm;
exports net.fortuna.ical4j.extensions.caldav.parameter;
exports net.fortuna.ical4j.extensions.caldav.property;
exports net.fortuna.ical4j.extensions.concept;
exports net.fortuna.ical4j.extensions.model.concept;
exports net.fortuna.ical4j.extensions.data;
exports net.fortuna.ical4j.extensions.groupwise;
exports net.fortuna.ical4j.extensions.link;
exports net.fortuna.ical4j.extensions.location;
exports net.fortuna.ical4j.extensions.model.link;
exports net.fortuna.ical4j.extensions.model.location;
exports net.fortuna.ical4j.extensions.lotus;
exports net.fortuna.ical4j.extensions.outlook;
exports net.fortuna.ical4j.extensions.parameter;
exports net.fortuna.ical4j.extensions.participant;
exports net.fortuna.ical4j.extensions.property;
exports net.fortuna.ical4j.extensions.model.parameter;
exports net.fortuna.ical4j.extensions.model.participant;
exports net.fortuna.ical4j.extensions.model.property;
exports net.fortuna.ical4j.extensions.validate;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import net.fortuna.ical4j.data.ContentHandlerContext;
import net.fortuna.ical4j.data.DefaultContentHandler;
import net.fortuna.ical4j.extensions.property.WrTimezone;
import net.fortuna.ical4j.extensions.model.property.WrTimezone;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.ical4j.model.Property;
import net.fortuna.ical4j.model.TimeZoneRegistry;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.fortuna.ical4j.extensions.data;

import net.fortuna.ical4j.data.DefaultParameterFactorySupplier;
import net.fortuna.ical4j.extensions.parameter.Filename;
import net.fortuna.ical4j.extensions.model.parameter.Filename;
import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.ParameterFactory;
import net.fortuna.ical4j.model.parameter.Display;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.fortuna.ical4j.extensions.data;

import net.fortuna.ical4j.data.DefaultPropertyFactorySupplier;
import net.fortuna.ical4j.extensions.property.*;
import net.fortuna.ical4j.extensions.model.property.*;
import net.fortuna.ical4j.model.Property;
import net.fortuna.ical4j.model.PropertyFactory;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.fortuna.ical4j.extensions.alarm;
package net.fortuna.ical4j.extensions.model.alarm;

import net.fortuna.ical4j.extensions.property.Notify;
import net.fortuna.ical4j.extensions.model.property.Notify;
import net.fortuna.ical4j.model.component.VAlarm;
import net.fortuna.ical4j.model.property.Description;
import net.fortuna.ical4j.model.property.immutable.ImmutableAction;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.fortuna.ical4j.extensions.alarm;
package net.fortuna.ical4j.extensions.model.alarm;

import net.fortuna.ical4j.extensions.property.Notify;
import net.fortuna.ical4j.extensions.model.property.Notify;
import net.fortuna.ical4j.model.component.VAlarm;
import net.fortuna.ical4j.model.property.Description;
import net.fortuna.ical4j.model.property.immutable.ImmutableAction;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.alarm;
package net.fortuna.ical4j.extensions.model.alarm;

import net.fortuna.ical4j.model.component.VAlarm;
import net.fortuna.ical4j.model.component.VLocation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.Property;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.concept;
package net.fortuna.ical4j.extensions.model.concept;

import java.net.URI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.Property;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.Component;
import net.fortuna.ical4j.model.LinkRelationType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.link;
package net.fortuna.ical4j.extensions.model.link;

import net.fortuna.ical4j.model.LinkRelationType;
import net.fortuna.ical4j.model.parameter.LinkRel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.location;
package net.fortuna.ical4j.extensions.model.location;

import net.fortuna.ical4j.model.component.VLocation;
import net.fortuna.ical4j.model.property.LocationType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.location;
package net.fortuna.ical4j.extensions.model.location;

import net.fortuna.ical4j.model.component.VLocation;
import net.fortuna.ical4j.model.property.LocationType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.parameter;
package net.fortuna.ical4j.extensions.model.parameter;

import net.fortuna.ical4j.model.Content;
import net.fortuna.ical4j.model.Parameter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.participant;
package net.fortuna.ical4j.extensions.model.participant;

import net.fortuna.ical4j.model.component.Participant;
import net.fortuna.ical4j.model.parameter.FmtType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.participant;
package net.fortuna.ical4j.extensions.model.participant;

import net.fortuna.ical4j.model.property.immutable.ImmutableParticipantType;
import net.fortuna.ical4j.vcard.VCard;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.Content;
import net.fortuna.ical4j.model.ParameterList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.Property;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.parameter.FmtType;
import net.fortuna.ical4j.model.parameter.Value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.*;
import net.fortuna.ical4j.validate.ParameterValidator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.parameter.FmtType;
import net.fortuna.ical4j.model.parameter.Value;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.parameter.Related;
import net.fortuna.ical4j.model.property.Trigger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.Property;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.fortuna.ical4j.extensions.property;
package net.fortuna.ical4j.extensions.model.property;

import net.fortuna.ical4j.model.Content;
import net.fortuna.ical4j.model.ParameterList;
Expand Down
Loading

0 comments on commit 85f54e4

Please sign in to comment.