text
stringlengths
7
995k
package org.jessenpan.leetcode.array; import org.junit.Assert; import org.junit.Test; /** * @author jessenpan */ public class S1160FindWordsThatCanBeFormedByCharactersTest { private S1160FindWordsThatCanBeFormedByCharacters findWordsThatCanBeFormedByCharacters = new S1160FindWordsThatCanBeFormedByCharacters();...
package com.takeiton.services; import com.takeiton.models.AppUser; import com.takeiton.models.Milestone; import com.takeiton.models.Objective; import com.takeiton.models.Task; import com.takeiton.repositories.AppUserRepository; import com.takeiton.repositories.MilestoneRepository; import com.takeiton.repositories.Obje...
/* * Copyright 2017, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.datastores.jpql.query; import static com.yahoo.elide.core.utils.TypeHelper.appendAlias; import static com.yahoo.elide.core.utils.TypeHelper.getTypeAlias; import ...
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.example.houjie.studyapk.studyxml.factory; import android.util.Log; import com.example.houjie.studyapk.studyxml.bean.Student; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import java.io.IOException; import java.io.InputStr...
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the Egeria project. */ package org.odpi.openmetadata.accessservices.assetconsumer.client; import org.odpi.openmetadata.accessservices.assetconsumer.AssetConsumerInterface; import org.odpi.openmetadata.accessservices.assetconsumer.ffdc.AssetConsumer...
/* * Copyright 2018 Google LLC. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package maratonBook.string; import java.io.*; import java.util.Scanner; /*Lenguaje: STATEMENT = ACTION | STATEMENT , ACTION ACTION = ACTIVE_LIST VERB ACTIVE_LIST ACTIVE_LIST = ACTOR | ACTIVE_LIST and ACTOR ACTOR = NOUN | ARTICLE NOUN ARTICLE = a | the NOUN = tom | jerry | goofy | mickey | jimmy | dog | cat | mo...
/* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.accessservices.dataengine.server.builders; import org.odpi.openmetadata.accessservices.dataengine.server.mappers.ProcessPropertiesMapper; import org.odpi.openmetadata.commonservices.ocf.meta...
// Copyright 2019 The Nomulus Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
// Targeted by JavaCPP version 1.5.3-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.tensorflow; import org.bytedeco.tensorflow.Allocator; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.tensorflow.global.tensorflow.*; /** Computes the gra...
package xyz.chrisryan.analysis.fitness; public class FrequencyAnalysis { private float[] counts; private int total; public FrequencyAnalysis() { this.total = 0; this.counts = new float[26]; } public void analyse(byte[] text) { for (byte b: text) { this.counts[b...
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.importer.external.service.components.dto; import java.util.List; /** * Simple obj...
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditio...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package sk.henrichg.phoneprofilesplus; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.service.notification.StatusBarNotification; // Disable action button public c...
/* * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package org.benf.cfr.tests; public class Continue { public static void testBadName() { Continue c = new Continue(); System.out.print(c); } }
/** * Copyright 2017-2020 O2 Czech Republic, a.s. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
package net.qldarch.util; import org.apache.commons.lang3.StringUtils; public class UrlSupport { private static final String BASE = "http://qldarch.net"; public static String url(String s) { if(StringUtils.isNotBlank(s)) { if(StringUtils.startsWith(s, "http")) { return s; } else if(Strin...
package zeus.plugin; import android.app.Activity; import android.app.Instrumentation; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; /** * Created by huangjian on 2016/7/28. */ public class ZeusInstrumentation extends Instrumentation{ @Override public Activity newAc...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright Debezium Authors. * * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package io.debezium.connector.mysql; import java.math.BigDecimal; import java.time.Duration; import java.util.Random; import org.apache.kafka.common.config.Config...
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
package jwebform.usage; import jwebform.Form; import jwebform.FormBuilder; import jwebform.FormResult; import jwebform.env.EnvBuilder; import jwebform.field.builder.BuildInType; import jwebform.validation.criteria.Criteria; import org.junit.Test; import java.util.HashMap; import java.util.Map; import java.util.Option...
package ejercicios.ejercicio5; import java.awt.*; public class Contenedor extends Canvas { /** * @FranciscoHuchinUc */ private static final long serialVersionUID = -8122885429252598488L; private int xx, yy; private int h, w; private boolean isClicked; public Contenedor() { ...
package com.acbook.config; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.acbook.common.config.ACBookConfig; import junit.framework.TestCase; public class ACBookConfigTest extends TestCase { @Te...
package getting_started; public class Print_All_Primes_Till_N { public static void main(String[] args) { int lower = 0; // Starting Number int higher =7; // Ending Number int count = 0; for(int input = lower;input<=higher;input++) { if ((input==0)||(input==1)) { // To check if number is 0 or 1 System.out.p...
/******************************************************************************* * Copyright (c) 2018 Microsoft Research. All rights reserved. * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
package eus.eurohelp.demoapp.cucumber.stepdefs; import cucumber.api.java.Before; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import org.springframework.http.MediaType; import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.setup.MockMvcBuilders; impor...
package br.com.zup.academy.ednelson.proposta.cartao; import java.math.BigDecimal; import com.fasterxml.jackson.annotation.JsonProperty; public class CartaoResourceResponse { @JsonProperty private String id; @JsonProperty private String titular; @JsonProperty private BigDecimal limite; public Cartao toModel(...
package com.flowpowered.math.test.vector; import static com.flowpowered.math.test.TestUtilf.SQRT2; import static com.flowpowered.math.test.TestUtilf.SQRT5; import java.util.Random; import org.junit.Assert; import org.junit.Test; import com.flowpowered.math.TrigMath; import com.flowpowered.math.test.TestUtilf; impor...
/******************************************************************************* * * Copyright 2020 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * ...
package com.gmy.guliorder.order.service.impl; import com.alibaba.fastjson.TypeReference; import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; import com.baomidou.mybatisplus.core.toolkit.IdWorker; import com.gmy.common.constant.OrderConstant; import com.gmy.common.to.SkuHasStockVo; import com.gmy.common.utils...
/* * Copyright 2016 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.red.nattable.edit; import static org.eclipse.swt.events.KeyListener.keyPressedAdapter; import org.eclipse.jface.layout.GridDataFactory; import org.ec...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 身份证信息识别 * * @author auto create * @since 1.0, 2019-08-27 11:16:27 */ public class AlipayIserviceCognitiveOcrIdcardQueryModel extends AlipayObject { private static final long serialVersionUI...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * (C) Copyright 2017 Nuxeo (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
package org.dominokit.domino.ui.alerts; import elemental2.dom.HTMLAnchorElement; import org.dominokit.domino.ui.style.Styles; import org.dominokit.domino.ui.utils.BaseDominoElement; public class AlertLink extends BaseDominoElement<HTMLAnchorElement, AlertLink> { private final HTMLAnchorElement element; publ...
package com.thinkbiganalytics.scheduler.support; /*- * #%L * thinkbig-scheduler-core * %% * Copyright (C) 2017 ThinkBig Analytics * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
/** * Location Intelligence APIs * Incorporate our extensive geodata into everyday applications, business processes and workflows. * * OpenAPI spec version: 8.5.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit ...
package com.project.aditya.busapp; /** * Created by Aditya on 14/6/2016. */ public class BusTimes { private String num; private int t1; private int t2; private int t3; // public BusTimes(){ // // } // // public BusTimes(String no, int time1, int time2){ // num = no; // t1 = ti...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package org.pimslims.presentation.leeds; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.pimslims.dao.WritableVersion; import org.pimslims.exception.AccessException; import org.pimslims.exception.ConstraintException; import org.pimslims.lab.ConstructUtility; import or...
/* Copyright (C) GridGain Systems. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
package com.example.todobulgaria.annotations; import com.example.todobulgaria.utils.PasswordMatchValidator; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.a...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.example.android.miwok; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.A...
package com.raivis.develops.mpi_prd2; import android.app.Dialog; import android.app.AlertDialog; import android.app.DialogFragment; import android.content.DialogInterface; import android.os.Bundle; import android.widget.Toast; import java.util.ArrayList; public class Dialogg extends DialogFragment{ ArrayLis...
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * @由于个人水平有限, 难免有些错误, 还请指点: * @Author: cpu_code * @Date: 2020-09-14 13:59:58 * @LastEditTime: 2020-09-14 14:01:42 * @FilePath: \java\object\polymorphic\polymorphic6\Main.java * @Gitee: [https://gitee.com/cpu_code](https://gitee.com/cpu_code) * @Github: [https://github.com/CPU-Code](https://github.com/CPU-Cod...
package seedu.address.model.tag; import static java.util.Objects.requireNonNull; import static seedu.address.commons.util.AppUtil.checkArgument; /** * Represents a Tag in the address book. * Guarantees: immutable; name is valid as declared in {@link #isValidTagName(String)} */ public abstract class Tag { publ...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:/...
/* * Copyright 2005 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package org.cloud.sonic.controller.services.impl; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper; import com.baomidou.mybatisplus....
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
/* * JBoss, Home of Professional Open Source * * Copyright 2013 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
package com.codepath.apps.restclienttemplate; import android.app.Application; import android.content.Context; import com.raizlabs.android.dbflow.config.FlowConfig; import com.raizlabs.android.dbflow.config.FlowLog; import com.raizlabs.android.dbflow.config.FlowManager; /* * This is the Android application itself an...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__byte_console_readLine_preinc_73a.java Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-73a.tmpl.java */ /* * @description * CWE: 190 Integer Overflow * BadSource: console_readLine Read data from the console us...
package net.openid.conformance.sequence.as; import net.openid.conformance.condition.rs.CreateOpenBankingAccountsResponse; import net.openid.conformance.condition.rs.GenerateOpenBankingAccountId; import net.openid.conformance.sequence.AbstractConditionSequence; public class GenerateOpenBankingUkAccountsEndpointRespons...
/* * This file is part of Alpine. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
package client.dialog; import client.frame.Frame; import client.resource.ResourceManager; import client.table.DomainTable; import domain.Domain; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.List; import javax.swing....
package ddop.stat; public class StatTransformTemplate { public final String category; public final String bonusType; public final Double magnitude; public StatTransformTemplate(String category, String bonusType, Double magnitude) { this.category = category; this.bonusType = bonusType; ...
/** * */ package com.scb.t24.pages; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; /** * @author dineshkumar.rc * */ public class TransactionsSearchPage extends BasePage { /** * @param remoteWebDriver */ public TransactionsSearchPage() { super(driver); } @FindBy(xp...
package io.github.josehsantos.hack.parser; import io.github.josehsantos.hack.HackBaseParserTest; /** * Created by josesantos on 01/11/14. */ public class Binary_Logical_OperatorsTest extends HackBaseParserTest { public void testBinary_logical_operators() { doTest(true); } }
package in.eapen.pixelgm; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(...
package com.elmakers.mine.bukkit.utility.platform.legacy; import java.util.Collection; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; import com.elmakers.mine.bukkit.utility.CompatibilityConstants; import com.elmakers.mine.bukkit.utility.platform.Platform; import com.elmakers.mine.bukkit.utility....
/** * @author zhoujiagen */ package com.spike.giantdataanalysis.commons.annotation.constraint;
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.clubobsidian.dynamicgui.builder; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.bukkit.Material; import com.clubobsidian.dynamicgui.enchantment.EnchantmentWrapper; import com.clubobsidian.dynamicgui.function.Function; import com.clubobsidian....
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package cn.pbj2019.demo.javaconcurrency.java_concurrency; import java.util.concurrent.locks.*; import net.jcip.annotations.*; /** * ReentrantLockPseudoRandom * <p/> * Random number generator using ReentrantLock * * @author Brian Goetz and Tim Peierls */ @ThreadSafe public class ReentrantLockPseudoRandom extend...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
package me.faintcloudy.bedwars.commands; import me.faintcloudy.bedwars.Bedwars; import me.faintcloudy.bedwars.game.GamePlayer; import me.faintcloudy.bedwars.game.team.Team; import me.faintcloudy.bedwars.game.team.TeamColor; import me.faintcloudy.bedwars.game.team.TeamState; import me.faintcloudy.bedwars.utils.command....
/* * Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not * use this file except in compliance with the License. A copy of the License is * located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
package no.nav.kontantstotte.storage.s3; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import java.util.Optional; import no.nav.kontantstotte.storage.attachment.AttachmentStorage; import no.nav.kontantstotte.storage.encryption.EncryptedStorage; import org.mockito.Mockito; im...
// camel-k: language=java import org.apache.camel.builder.RouteBuilder; public class MyCamelRoute extends RouteBuilder { @Override public void configure() throws Exception { // Write your routes here, for example: from("timer:java?period=1000") .routeId("java") .setBody() .simple("Hello Camel from ${r...
package com.github.connteam.conn.client; import java.net.ProtocolException; import java.security.InvalidKeyException; import java.security.KeyPair; import java.security.PublicKey; import java.security.Signature; import java.security.SignatureException; import java.security.spec.InvalidKeySpecException; import java.sql...
/* This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation ...
package org.apache.maven.bridge; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Ve...
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.graph; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; imp...
package io.caboose.api.controllers; import io.caboose.api.models.*; import io.caboose.api.parsers.*; import io.caboose.swagger.models.ErrorModel; import play.mvc.*; import io.caboose.swagger.SwaggerController; import io.caboose.swagger.SwaggerService; @SwaggerService.Service() public class PetController extends Swagg...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/* * Copyright (c) 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.storage.models; import com.azure.core.annotation.Fluent; import com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion; import com.azure.resourcemanager.resour...
/* * Copyright 2019 Alfresco, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
package de.happybavarian07.events; public class NotAPanelEventException extends Exception { public NotAPanelEventException() { } public NotAPanelEventException(String message) { super(message); } public NotAPanelEventException(String message, Throwable cause) { super(message, caus...