Remove unused code (#23691)
Remove an unused private method and an unused local variable.
This commit is contained in:
parent
80de1e7588
commit
afbf3fdf6a
|
|
@ -859,15 +859,6 @@ namespace Microsoft.AspNetCore.JsonPatch
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool ContinueWithSubPath(ExpressionType expressionType)
|
|
||||||
{
|
|
||||||
return (expressionType == ExpressionType.ArrayIndex
|
|
||||||
|| expressionType == ExpressionType.Call
|
|
||||||
|| expressionType == ExpressionType.Convert
|
|
||||||
|| expressionType == ExpressionType.MemberAccess);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Evaluates the value of the key or index which may be an int or a string,
|
// Evaluates the value of the key or index which may be an int or a string,
|
||||||
// or some other expression type.
|
// or some other expression type.
|
||||||
// The expression is converted to a delegate and the result of executing the delegate is returned as a string.
|
// The expression is converted to a delegate and the result of executing the delegate is returned as a string.
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ namespace Microsoft.AspNetCore.Hosting.StaticWebAssets
|
||||||
|
|
||||||
internal static void UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
|
internal static void UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
|
||||||
{
|
{
|
||||||
var staticWebAssetsFileProvider = new List<IFileProvider>();
|
|
||||||
var webRootFileProvider = environment.WebRootFileProvider;
|
var webRootFileProvider = environment.WebRootFileProvider;
|
||||||
|
|
||||||
var additionalFiles = StaticWebAssetsReader.Parse(manifest)
|
var additionalFiles = StaticWebAssetsReader.Parse(manifest)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue