Skip to content

Commit fe623e8

Browse files
mbasmanovastolstov
authored andcommitted
Move ScanCallback#estimateMemorySize to implementation (Esri#209)
1 parent 937ca24 commit fe623e8

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/main/java/com/esri/core/geometry/RasterizedGeometry2DImpl.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ public void drawScan(int[] scans, int scanCount3) {
8686
}
8787
}
8888

89-
@Override
89+
/**
90+
* Returns an estimate of this object size in bytes.
91+
*
92+
* @return Returns an estimate of this object size in bytes.
93+
*/
9094
public long estimateMemorySize()
9195
{
9296
return SIZE_OF_SCAN_CALLBACK_IMPL +

src/main/java/com/esri/core/geometry/SimpleRasterizer.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,6 @@ public interface ScanCallback {
5656
* @param scanCount3 The number of initialized elements in the scans array. The scan count is scanCount3 / 3.
5757
*/
5858
void drawScan(int[] scans, int scanCount3);
59-
60-
/**
61-
* Returns an estimate of this object size in bytes.
62-
*
63-
* @return Returns an estimate of this object size in bytes.
64-
*/
65-
long estimateMemorySize();
6659
}
6760

6861
public SimpleRasterizer() {

0 commit comments

Comments
 (0)