11/*
2- * Copyright 2017-2019 the original author or authors.
2+ * Copyright 2017-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
66 * You may obtain a copy of the License at
77 *
8- * https://www.apache.org/licenses/LICENSE-2.0
8+ * https://www.apache.org/licenses/LICENSE-2.0
99 *
1010 * Unless required by applicable law or agreed to in writing, software
1111 * distributed under the License is distributed on an "AS IS" BASIS,
1919import java .util .Collections ;
2020import java .util .Set ;
2121
22- /** An event that is published just before a save operation is sent to Cloud Spanner. */
22+ /**
23+ * An event that is published just before a save operation is sent to Cloud Spanner.
24+ */
2325public class BeforeSaveEvent extends SaveEvent {
2426
2527 /**
26- * Constructor. {@code BeforeSaveEvent} does not hold mutations because this event gives the
27- * opportunity to modify the entities from which mutations are ultimately generated.
28+ * Constructor.
2829 *
29- * @param targetEntities the target entities that need to be mutated. This may be {@code null}
30- * depending on the original request.
30+ * @param targetEntities the target entities that need to be mutated.
3131 * @param includeProperties the set of properties to include in the save operation.
3232 */
33- public BeforeSaveEvent (Iterable targetEntities , Set <String > includeProperties ) {
33+ public BeforeSaveEvent (Iterable <?> targetEntities , Set <String > includeProperties ) {
3434 super (Collections .emptyList (), targetEntities , includeProperties );
3535 }
36- }
36+ }
0 commit comments