Skip to content

Commit

Permalink
fix: rename modal to model package
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathyes committed Sep 21, 2022
1 parent de3e2d2 commit 5be95ec
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/techconative/posf/core/IPOSFService.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.techconative.posf.core;

import com.techconative.posf.modal.PageResult;
import com.techconative.posf.modal.POSFCriteria;
import com.techconative.posf.model.PageResult;
import com.techconative.posf.model.POSFCriteria;

/**
* Interface of main class to be implemented to use the library
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

/** Order Criteria for sorting of data */
public enum OrderingCriteria {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import lombok.Getter;
import lombok.Setter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import java.util.List;

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/techconative/posf/service/POSFService.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.techconative.posf.service;

import com.techconative.posf.core.IPOSFService;
import com.techconative.posf.modal.PageResult;
import com.techconative.posf.modal.POSFCriteria;
import com.techconative.posf.model.PageResult;
import com.techconative.posf.model.POSFCriteria;
import com.techconative.posf.util.POSFUtil;
import lombok.extern.slf4j.Slf4j;

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/techconative/posf/util/POSFUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.techconative.posf.modal.OrderingCriteria;
import com.techconative.posf.modal.PageResult;
import com.techconative.posf.modal.POSFCriteria;
import com.techconative.posf.model.OrderingCriteria;
import com.techconative.posf.model.PageResult;
import com.techconative.posf.model.POSFCriteria;
import exception.InvalidCriteriaException;
import java.util.*;
import java.util.regex.Pattern;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/techconative/posf/CounterService.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.techconative.posf.modal.Counters;
import com.techconative.posf.model.Counters;
import com.techconative.posf.service.POSFService;
import java.io.IOException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.techconative.posf;

import com.techconative.posf.core.IPOSFService;
import com.techconative.posf.modal.OrderingCriteria;
import com.techconative.posf.modal.PageResult;
import com.techconative.posf.modal.POSFCriteria;
import com.techconative.posf.model.OrderingCriteria;
import com.techconative.posf.model.PageResult;
import com.techconative.posf.model.POSFCriteria;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/techconative/posf/FeedService.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.techconative.posf.modal.Feed;
import com.techconative.posf.model.Feed;
import com.techconative.posf.service.POSFService;
import java.io.IOException;
import java.util.List;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/techconative/posf/StudentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.techconative.posf.modal.Student;
import com.techconative.posf.model.Student;
import com.techconative.posf.service.POSFService;
import java.io.IOException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import java.util.List;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import java.util.List;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

public class LikeDislike {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import com.fasterxml.jackson.annotation.JsonProperty;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techconative.posf.modal;
package com.techconative.posf.model;

import java.util.List;
import lombok.Data;
Expand Down

0 comments on commit 5be95ec

Please sign in to comment.