Skip to content

Commit f835aee

Browse files
committed
Update POm.xml and remove repeated revariables
1 parent c24e301 commit f835aee

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

hexfeed-backend/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
</scm>
2929
<properties>
3030
<java.version>17</java.version>
31+
<lombok.version>1.18.30</lombok.version>
3132
</properties>
3233
<dependencies>
3334
<dependency>
@@ -148,10 +149,13 @@
148149
<groupId>org.apache.maven.plugins</groupId>
149150
<artifactId>maven-compiler-plugin</artifactId>
150151
<configuration>
152+
<source>${java.version}</source>
153+
<target>${java.version}</target>
151154
<annotationProcessorPaths>
152155
<path>
153156
<groupId>org.projectlombok</groupId>
154157
<artifactId>lombok</artifactId>
158+
<version>${lombok.version}</version>
155159
</path>
156160
</annotationProcessorPaths>
157161
</configuration>

hexfeed-backend/src/main/java/com/hexfeed/model/entity/Post.java

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,6 @@ public class Post {
183183
@Builder.Default
184184
private Boolean allowReplies = true;
185185

186-
/**
187-
* H3 resolution level used to calculate the hex_id for this post
188-
* Used for migration tracking when changing resolution levels
189-
*/
190-
@Column(name = "h3_resolution", nullable = false)
191-
@Min(value = 0, message = "H3 resolution must be between 0 and 15")
192-
@Max(value = 15, message = "H3 resolution must be between 0 and 15")
193-
@Builder.Default
194-
private Integer h3Resolution = 7;
195186

196187
/**
197188
* Flag indicating if this post has been migrated to the new H3 resolution
@@ -211,8 +202,8 @@ public class Post {
211202
private Map<String, Object> metadata;
212203

213204
/**
214-
* H3 resolution level used for hexagon spatial indexing
215-
* Default is 7 (optimal for city-level partitioning)
205+
* H3 resolution level used to calculate the hex_id for this post
206+
* Used for migration tracking when changing resolution levels
216207
*/
217208
@Column(name = "h3_resolution", nullable = false)
218209
@Min(value = 0, message = "H3 resolution must be non-negative")

0 commit comments

Comments
 (0)