File tree 1 file changed +3
-3
lines changed
src/java.base/share/classes/javax/net/ssl
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2003, 2020 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2003, 2021 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
224
224
* <pre>{@code
225
225
* SSLEngineResult r = engine.unwrap(src, dst);
226
226
* switch (r.getStatus()) {
227
- * BUFFER_OVERFLOW:
227
+ * case BUFFER_OVERFLOW:
228
228
* // Could attempt to drain the dst buffer of any already obtained
229
229
* // data, but we'll just increase it to the size needed.
230
230
* int appSize = engine.getSession().getApplicationBufferSize();
234
234
* dst = b;
235
235
* // retry the operation.
236
236
* break;
237
- * BUFFER_UNDERFLOW:
237
+ * case BUFFER_UNDERFLOW:
238
238
* int netSize = engine.getSession().getPacketBufferSize();
239
239
* // Resize buffer if needed.
240
240
* if (netSize > src.capacity()) {
You can’t perform that action at this time.
0 commit comments