File tree Expand file tree Collapse file tree
src/main/java/com/hexfeed/model/entity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 </scm >
2929 <properties >
3030 <java .version>17</java .version>
31+ <lombok .version>1.18.30</lombok .version>
3132 </properties >
3233 <dependencies >
3334 <dependency >
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 >
Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments