Skip to content

Commit 8e0c656

Browse files
brad4dcopybara-github
authored andcommitted
Make ExpressionDecomposer#exposeExpression() private
ExpressionDecomposer#maybeExposeExpression() is the method that should be called by classes using ExpressionDecomposer, since it fully exposes the expression. PiperOrigin-RevId: 322480079
1 parent 7290646 commit 8e0c656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/google/javascript/jscomp/ExpressionDecomposer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void maybeExposeExpression(Node expression) {
128128
* <p>This method should not be called from outside of this class. Instead call {@link
129129
* #maybeExposeExpression(Node)}.
130130
*/
131-
void exposeExpression(Node expression) {
131+
private void exposeExpression(Node expression) {
132132
Node expressionRoot = findExpressionRoot(expression);
133133
checkNotNull(expressionRoot);
134134
checkState(NodeUtil.isStatement(expressionRoot), expressionRoot);

0 commit comments

Comments
 (0)