File tree 2 files changed +9
-3
lines changed
analysis_server/lib/src/status
analyzer/lib/src/generated
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -1407,7 +1407,6 @@ class GetHandler {
1407
1407
buffer.write ('<p>' );
1408
1408
_writeOption (
1409
1409
buffer, 'Analyze functon bodies' , options.analyzeFunctionBodies);
1410
- _writeOption (buffer, 'Cache size' , options.cacheSize);
1411
1410
_writeOption (
1412
1411
buffer, 'Enable generic methods' , options.enableGenericMethods);
1413
1412
_writeOption (
Original file line number Diff line number Diff line change @@ -1061,9 +1061,12 @@ abstract class AnalysisOptions {
1061
1061
AnalyzeFunctionBodiesPredicate get analyzeFunctionBodiesPredicate;
1062
1062
1063
1063
/**
1064
- * Return the maximum number of sources for which AST structures should be
1064
+ * DEPRECATED: Return the maximum number of sources for which AST structures should be
1065
1065
* kept in the cache.
1066
+ *
1067
+ * This setting no longer has any effect.
1066
1068
*/
1069
+ @deprecated
1067
1070
int get cacheSize;
1068
1071
1069
1072
/**
@@ -1225,8 +1228,11 @@ abstract class AnalysisOptions {
1225
1228
*/
1226
1229
class AnalysisOptionsImpl implements AnalysisOptions {
1227
1230
/**
1228
- * The maximum number of sources for which data should be kept in the cache.
1231
+ * DEPRECATED: The maximum number of sources for which data should be kept in the cache.
1232
+ *
1233
+ * This constant no longer has any effect.
1229
1234
*/
1235
+ @deprecated
1230
1236
static const int DEFAULT_CACHE_SIZE = 64 ;
1231
1237
1232
1238
static const int ENABLE_ASSERT_FLAG = 0x01 ;
@@ -1249,6 +1255,7 @@ class AnalysisOptionsImpl implements AnalysisOptions {
1249
1255
_analyzeAllFunctionBodies;
1250
1256
1251
1257
@override
1258
+ @deprecated
1252
1259
int cacheSize = DEFAULT_CACHE_SIZE ;
1253
1260
1254
1261
@override
You can’t perform that action at this time.
0 commit comments