lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | epl-1.0 | b86059c2b4fb55d7004aa59ac4c1bf786aa5d843 | 0 | snxamdf/SimpleControl,snxamdf/SimpleControl | package com.yhy.test.action;
import javax.servlet.http.HttpServletRequest;
import sc.yhy.annotation.annot.Autowired;
import sc.yhy.annotation.annot.Value;
import sc.yhy.annotation.request.Action;
import sc.yhy.annotation.request.RequestMapping;
import com.yhy.test.service.TestService;
import com.yhy.test.s... | SC/src/com/yhy/test/action/TransactionAction.java | package com.yhy.test.action;
import javax.servlet.http.HttpServletRequest;
import sc.yhy.annotation.annot.Autowired;
import sc.yhy.annotation.annot.Value;
import sc.yhy.annotation.request.Action;
import sc.yhy.annotation.request.RequestMapping;
import com.yhy.test.service.TestService;
import com.yhy.test.s... | YHY 测试@value注解 | SC/src/com/yhy/test/action/TransactionAction.java | YHY 测试@value注解 | <ide><path>C/src/com/yhy/test/action/TransactionAction.java
<ide>
<ide> @Value("${sc.annot.init}")
<ide> private String testinit;
<del>
<add>
<ide> @Value("${sc.annot.init.3}")
<ide> private String scannotinit3;
<add> @Value("${sc.annot.init.3}")
<add> private String scannotinit1;
<ide>
<ide> @RequestMapping(va... | |
Java | apache-2.0 | 01cb1a90d68ca149488deebf2e2b8b61a852bccb | 0 | oplinkoms/onos,LorenzReinhart/ONOSnew,maheshraju-Huawei/actn,gkatsikas/onos,sonu283304/onos,zsh2938/onos,chinghanyu/onos,kuujo/onos,oplinkoms/onos,maheshraju-Huawei/actn,lsinfo3/onos,gkatsikas/onos,zsh2938/onos,CNlukai/onos-gerrit-test,oeeagle/onos,packet-tracker/onos,chenxiuyang/onos,jmiserez/onos,kkkane/ONOS,opennetw... | /*
* Copyright 2014-2015 Open Networking Laboratory
*
* 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 applicab... | core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java | /*
* Copyright 2014-2015 Open Networking Laboratory
*
* 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 applicab... | Fix exception for optical port descriptions (ONOS-1908)
Change-Id: I8868bf3c9c36bb731171cd64623d0f86a56f1299
| core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java | Fix exception for optical port descriptions (ONOS-1908) | <ide><path>ore/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java
<ide> import org.onosproject.net.PortNumber;
<ide> import org.onosproject.net.device.DefaultDeviceDescription;
<ide> import org.onosproject.net.device.DefaultPortDescription;
<add>import org.onosproject.net.device.OchPo... | |
Java | apache-2.0 | b6993341ac565638fcd6d29865ab68fed617f4f2 | 0 | shaoshao613/mixpanel-android,Flutterbee/mixpanel-android,danmcknight/mixpanel-android,shaoshao613/mixpanel-android,mixpanel/mixpanel-android,engvik/mixpanel-android,zumper/mixpanel-android,erpragatisingh/mixpanel-android,LLin233/mixpanel-android,danmcknight/mixpanel-android,omadahealth/mixpanel-android,engvik/mixpanel-... | package com.mixpanel.android.mpmetrics;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Application;
import android.app.FragmentTransaction;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
im... | src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java | package com.mixpanel.android.mpmetrics;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Application;
import android.app.FragmentTransaction;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
im... | Android App Version as property
| src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java | Android App Version as property | <ide><path>rc/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java
<ide> import android.content.Context;
<ide> import android.content.Intent;
<ide> import android.content.SharedPreferences;
<add>import android.content.pm.PackageInfo;
<add>import android.content.pm.PackageManager;
<ide> import android.graphics.Bitm... | |
Java | apache-2.0 | 2460d2d00f9c73ab4d9b4f668452f89a66fa7d08 | 0 | ol-loginov/intellij-community,ryano144/intellij-community,ahb0327/intellij-community,Distrotech/intellij-community,ibinti/intellij-community,Lekanich/intellij-community,vvv1559/intellij-community,lucafavatella/intellij-community,MER-GROUP/intellij-community,muntasirsyed/intellij-community,alphafoobar/intellij-community... | /*
* Copyright 2000-2012 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... | platform/util/src/com/intellij/util/ImageLoader.java | /*
* Copyright 2000-2012 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... | Fix retina images under Darcula
| platform/util/src/com/intellij/util/ImageLoader.java | Fix retina images under Darcula | <ide><path>latform/util/src/com/intellij/util/ImageLoader.java
<ide> import java.io.InputStream;
<ide> import java.io.Serializable;
<ide> import java.net.URL;
<del>import java.util.Arrays;
<add>import java.util.ArrayList;
<ide> import java.util.Collections;
<ide> import java.util.List;
<ide>
<ide> final boolean da... | |
Java | mit | error: pathspec 'src/edacc/configurator/aac/course/StratifiedClusterCourse.java' did not match any file(s) known to git
| 2a1ed9b79e1501d2c280a98eb38fed4d25bd9a1d | 1 | EDACC/edacc_aac,EDACC/edacc_aac,EDACC/edacc_aac,EDACC/edacc_aac,EDACC/edacc_aac,EDACC/edacc_aac | package edacc.configurator.aac.course;
import java.util.List;
import edacc.model.Instance;
import edacc.configurator.aac.InstanceIdSeed;
public class StratifiedClusterCourse {
List<InstanceIdSeed> course;
public StratifiedClusterCourse(List<Instance> instances, float maxExpansionFactor) {
if (in... | src/edacc/configurator/aac/course/StratifiedClusterCourse.java | skeleton
| src/edacc/configurator/aac/course/StratifiedClusterCourse.java | skeleton | <ide><path>rc/edacc/configurator/aac/course/StratifiedClusterCourse.java
<add>package edacc.configurator.aac.course;
<add>
<add>import java.util.List;
<add>
<add>import edacc.model.Instance;
<add>import edacc.configurator.aac.InstanceIdSeed;
<add>
<add>public class StratifiedClusterCourse {
<add> List<InstanceIdSeed... | |
Java | apache-2.0 | 196b36ec5b64af00bceaab81b10584df79239fd5 | 0 | krichter722/jfreesane,sjamesr/jfreesane,sjamesr/jfreesane | package au.com.southsky.jfreesane;
import com.google.common.base.MoreObjects;
import com.google.common.primitives.UnsignedInteger;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging.Level;
import java.util.logging.Logg... | src/main/java/au/com/southsky/jfreesane/FrameInputStream.java | package au.com.southsky.jfreesane;
import com.google.common.primitives.UnsignedInteger;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging.Logger;
/**
* Represents a stream for reading image {@link Frame frames}.
*/... | Improve error message in the case of a truncated read, add more logging.
| src/main/java/au/com/southsky/jfreesane/FrameInputStream.java | Improve error message in the case of a truncated read, add more logging. | <ide><path>rc/main/java/au/com/southsky/jfreesane/FrameInputStream.java
<ide> package au.com.southsky.jfreesane;
<ide>
<add>import com.google.common.base.MoreObjects;
<ide> import com.google.common.primitives.UnsignedInteger;
<ide>
<ide> import java.io.ByteArrayOutputStream;
<ide> import java.io.DataInputStream;
<ide... | |
Java | apache-2.0 | d551d98b2bf1c12e6b25c9af34f0ee0d09e803d8 | 0 | vanta/commons-lang,hollycroxton/commons-lang,apache/commons-lang,chaoyi66/commons-lang,byMan/naya279,xiwc/commons-lang,jacktan1991/commons-lang,byMan/naya279,jankill/commons-lang,MuShiiii/commons-lang,britter/commons-lang,MuShiiii/commons-lang,Ajeet-Ganga/commons-lang,jankill/commons-lang,suntengteng/commons-lang,byMan... | /*
* 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 ... | src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java | /*
* 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 ... | Do not import *
git-svn-id: bab3daebc4e66440cbcc4aded890e63215874748@1309911 13f79535-47bb-0310-9956-ffa450edef68
| src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java | Do not import * | <ide><path>rc/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
<ide> */
<ide> package org.apache.commons.lang3.builder;
<ide>
<del>import static org.junit.Assert.*;
<add>import static org.junit.Assert.assertEquals;
<add>import static org.junit.Assert.assertNull;
<add>import static org.junit.Assert.... | |
Java | apache-2.0 | 67cb6ea94ca957e31acfa0385b8a21502b3716fb | 0 | pentaho-labs/pentaho-cpython-plugin,pentaho-labs/pentaho-cpython-plugin | /*! ******************************************************************************
*
* Pentaho Data Science
*
* Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "L... | src/org/pentaho/python/PythonSession.java | /*! ******************************************************************************
*
* Pentaho Data Science
*
* Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "L... | Fixes #10 - correct spelling of taskkill
| src/org/pentaho/python/PythonSession.java | Fixes #10 - correct spelling of taskkill | <ide><path>rc/org/pentaho/python/PythonSession.java
<ide> // try to kill process, just in case
<ide> ProcessBuilder killer;
<ide> if ( System.getProperty( "os.name" ).toLowerCase().contains( "win" ) ) {
<del> killer = new ProcessBuilder( "takskill", "/F", "/PID", "" + m_pythonPI... | |
Java | mit | 937d26bf987495bc465e3588cfe6274774856733 | 0 | MontealegreLuis/hibernate-example | /**
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
package com.codeup;
import com.codeup.console.Console;
import com.codeup.console.Menu;
import com.codeup.hibernate.repositories.CategoriesRepository;
import com.codeup.hibernate.Hibernate;
import com.codeup.hib... | src/main/java/com/codeup/Application.java | /**
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
package com.codeup;
import com.codeup.console.Console;
import com.codeup.console.Menu;
import com.codeup.hibernate.repositories.CategoriesRepository;
import com.codeup.hibernate.Hibernate;
import com.codeup.hib... | Force exit in main application.
| src/main/java/com/codeup/Application.java | Force exit in main application. | <ide><path>rc/main/java/com/codeup/Application.java
<ide>
<ide> session.close();
<ide> input.close();
<add> System.exit(0);
<ide> }
<ide> } | |
Java | epl-1.0 | 9c61c4942deec38823beda0473a74f174c292c0d | 0 | smeup/asup,smeup/asup,smeup/asup | package org.smeup.sys.os.prtf.base.api;
import javax.inject.Inject;
import org.smeup.sys.dk.core.annotation.Supported;
import org.smeup.sys.dk.core.annotation.ToDo;
import org.smeup.sys.il.data.QBinary;
import org.smeup.sys.il.data.QCharacter;
import org.smeup.sys.il.data.QDataStructWrapper;
import org.smeup.sys.il.d... | org.smeup.sys.os.prtf.base/src/org/smeup/sys/os/prtf/base/api/PrinterFileOverride.java | package org.smeup.sys.os.prtf.base.api;
import org.smeup.sys.dk.core.annotation.Supported;
import org.smeup.sys.dk.core.annotation.ToDo;
import org.smeup.sys.il.data.QBinary;
import org.smeup.sys.il.data.QCharacter;
import org.smeup.sys.il.data.QDataStructWrapper;
import org.smeup.sys.il.data.QDatetime;
import org.sme... | OVRPRTF - Primissima implementazione | org.smeup.sys.os.prtf.base/src/org/smeup/sys/os/prtf/base/api/PrinterFileOverride.java | OVRPRTF - Primissima implementazione | <ide><path>rg.smeup.sys.os.prtf.base/src/org/smeup/sys/os/prtf/base/api/PrinterFileOverride.java
<ide> package org.smeup.sys.os.prtf.base.api;
<add>
<add>import javax.inject.Inject;
<ide>
<ide> import org.smeup.sys.dk.core.annotation.Supported;
<ide> import org.smeup.sys.dk.core.annotation.ToDo;
<ide> import org.smeup... | |
Java | apache-2.0 | f9be1dd5a2fba5e1982c05453f1039dbd9d064f1 | 0 | pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus | /**
* Copyright 2007-2008 University Of Southern California
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required b... | src/edu/isi/pegasus/planner/transfer/sls/Transfer.java | /**
* Copyright 2007-2008 University Of Southern California
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required b... | For the stage out transfers in PegasusLite nonshared fs mode, the destination URL can be a file URL if the compute site and staging site are same OR staging site is local and the compute site is visible to the local site. The file URL replacement is only triggered when symlinking is turned on.
| src/edu/isi/pegasus/planner/transfer/sls/Transfer.java | For the stage out transfers in PegasusLite nonshared fs mode, the destination URL can be a file URL if the compute site and staging site are same OR staging site is local and the compute site is visible to the local site. The file URL replacement is only triggered when symlinking is turned on. | <ide><path>rc/edu/isi/pegasus/planner/transfer/sls/Transfer.java
<ide> }
<ide> }
<ide>
<add> String computeSite = job.getSiteHandle();
<add> SiteCatalogEntry computeSiteEntry = this.mSiteStore.lookup(computeSite);
<add>
<ide> // To do. distinguish the sls file from the other i... | |
Java | apache-2.0 | a742157849a020ca500531247dfd06e11ab6c39e | 0 | PotapovMS/Software-testing-training | package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.Select;
import org.testng.Assert;
import ru.stqa.pft.addressbook.model.ContactData;
/**
* Created by Максим on 22.04.2016.
*/
public class ContactHelper extends Help... | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/ContactHelper.java | package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.Select;
import org.testng.Assert;
import ru.stqa.pft.addressbook.model.ContactData;
/**
* Created by Максим on 22.04.2016.
*/
public class ContactHelper extends Help... | Исправлена ошибка при модификации заполнения форм с почти одинаковым набором полей
| addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/ContactHelper.java | Исправлена ошибка при модификации заполнения форм с почти одинаковым набором полей | <ide><path>ddressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/ContactHelper.java
<ide>
<ide> public void submitContactCreation() {
<ide> click(By.xpath("//div[@id='content']/form/input[21]"));
<del> click(By.name("searchform"));
<ide> }
<ide>
<ide> public void fillContactForm(ContactDa... | |
Java | epl-1.0 | d8f847a9bf03fadad3534a176570cacb64a2e9b4 | 0 | planetguy32/ForgeEssentials,Techjar/ForgeEssentials,ForgeEssentials/ForgeEssentialsMain,CityOfLearning/ForgeEssentials,liachmodded/ForgeEssentials,aschmois/ForgeEssentialsMain | package com.forgeessentials.worldborder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.WorldServer;
import net.minecraftforge.common.DimensionManager;
import net.mine... | src/main/java/com/forgeessentials/worldborder/CommandFiller.java | package com.forgeessentials.worldborder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.WorldServer;
import net.minecraftforge.common.DimensionManager;
import net.mine... | Added command usage for /filler. Fixes #1052
| src/main/java/com/forgeessentials/worldborder/CommandFiller.java | Added command usage for /filler. Fixes #1052 | <ide><path>rc/main/java/com/forgeessentials/worldborder/CommandFiller.java
<ide> @Override
<ide> public String getCommandUsage(ICommandSender sender)
<ide> {
<del>
<del> return null;
<add> return "/filler [worldID start|stop|reset|speed[value]]";
<ide> }
<ide>
<ide> @Override | |
Java | mit | 5a9ee728a66c3fb404f4ee4269896561c04c23c8 | 0 | bfranco94/ziptastic-java,Ziptastic/ziptastic-java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Ziptastic_Object;
import java.io.IOException;
import org.apache.http.HttpEntity;
import org.apache.http.client.meth... | Ziptastic/src/main/java/Ziptastic_Object/Ziptastic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Ziptastic_Object;
import java.io.IOException;
import org.apache.http.HttpEntity;
import org.apache.http.client.meth... | Reverse Geocoding implemented.
Request moved into a separate method
Reverse/Forward Geocoding methods now create the URL which gets passed to the HTTP Request method. | Ziptastic/src/main/java/Ziptastic_Object/Ziptastic.java | Reverse Geocoding implemented. | <ide><path>iptastic/src/main/java/Ziptastic_Object/Ziptastic.java
<ide> public class Ziptastic {
<ide>
<ide> private static String url = "https://zip.getziptastic.com/v3/US/";
<add> private static String reverseUrl = "https://zip.getziptastic.com/v3/reverse/";
<ide> private static String apiKey;
<ide> ... | |
Java | apache-2.0 | 842e85d717e805865f77173670d96e6f74d2e061 | 0 | clhedrick/sakai,lorenamgUMU/sakai,bzhouduke123/sakai,duke-compsci290-spring2016/sakai,puramshetty/sakai,bkirschn/sakai,tl-its-umich-edu/sakai,kwedoff1/sakai,puramshetty/sakai,bzhouduke123/sakai,rodriguezdevera/sakai,frasese/sakai,lorenamgUMU/sakai,rodriguezdevera/sakai,puramshetty/sakai,duke-compsci290-spring2016/sakai... | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Ve... | user/user-tool/tool/src/java/org/sakaiproject/user/tool/UsersAction.java | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Ve... | SAK-19730 add form-name variable to the template
git-svn-id: 470921d30149416e94c2486af53d02cfc164742e@94254 66ffb92e-73f9-0310-93c1-f5514f145a0a
| user/user-tool/tool/src/java/org/sakaiproject/user/tool/UsersAction.java | SAK-19730 add form-name variable to the template | <ide><path>ser/user-tool/tool/src/java/org/sakaiproject/user/tool/UsersAction.java
<ide> {
<ide> // put the service in the context
<ide> context.put("service", UserDirectoryService.getInstance());
<add>
<add> // name the html form for user edit fields
<add> context.put("form-name", "user-form");
<ide>
<ide> ... | |
Java | mit | e9248ac2b4a14211f4d68602edb4856a5b1d6db7 | 0 | Jacudibu/Bachelor-Thesis | package com.jacudibu.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.jacudibu.Core;
import com.jacudibu.ubiWrap.DFGParser;
import com.jacudibu.ubiWrap.UbiManager;
public class DesktopLauncher {
private static boolean d... | desktop/src/com/jacudibu/desktop/DesktopLauncher.java | package com.jacudibu.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.jacudibu.Core;
import com.jacudibu.ubiWrap.DFGParser;
import com.jacudibu.ubiWrap.UbiManager;
public class DesktopLauncher {
private static boolean d... | Updated Command Line Arguments for loading files
| desktop/src/com/jacudibu/desktop/DesktopLauncher.java | Updated Command Line Arguments for loading files | <ide><path>esktop/src/com/jacudibu/desktop/DesktopLauncher.java
<ide> return 1;
<ide> }
<ide>
<del> if (currentArgument.equals("dfg")) {
<add> if (currentArgument.equals("loaddfg")) {
<ide> dfgPath = arguments[index + 1];
<ide> return 2;
<ide> }
<ide>
<del> if (currentArgument.equals("load")) {
<add> ... | |
Java | apache-2.0 | 092864eaec6e071ad16d9d9888dc8fb7cc1c06f5 | 0 | guusdk/Openfire,speedy01/Openfire,speedy01/Openfire,Gugli/Openfire,Gugli/Openfire,guusdk/Openfire,GregDThomas/Openfire,akrherz/Openfire,GregDThomas/Openfire,GregDThomas/Openfire,igniterealtime/Openfire,akrherz/Openfire,Gugli/Openfire,guusdk/Openfire,akrherz/Openfire,speedy01/Openfire,igniterealtime/Openfire,speedy01/Op... | /**
* $Revision: $
* $Date: $
*
* Copyright (C) 2005-2008 Jive Software. 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... | src/java/org/jivesoftware/openfire/http/HttpBindServlet.java | /**
* $Revision: $
* $Date: $
*
* Copyright (C) 2005-2008 Jive Software. 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... | OF-885: Undoing force of content-length to prevent chunked encoding.
| src/java/org/jivesoftware/openfire/http/HttpBindServlet.java | OF-885: Undoing force of content-length to prevent chunked encoding. | <ide><path>rc/java/org/jivesoftware/openfire/http/HttpBindServlet.java
<ide> @Override
<ide> public void onWritePossible() throws IOException {
<ide> Log.trace("Data can be written to [" + remoteAddress + "]");
<del> context.getResponse().setContentLength(data.length);
<ide> ... | |
Java | apache-2.0 | e477c3715b9e572e31f67a04079ad9839275022b | 0 | dita-ot/dita-ot,infotexture/dita-ot,drmacro/dita-ot,dita-ot/dita-ot,drmacro/dita-ot,dita-ot/dita-ot,infotexture/dita-ot,drmacro/dita-ot,infotexture/dita-ot,shaneataylor/dita-ot,infotexture/dita-ot,shaneataylor/dita-ot,drmacro/dita-ot,shaneataylor/dita-ot,dita-ot/dita-ot,dita-ot/dita-ot,shaneataylor/dita-ot,drmacro/dita... | /*
* This file is part of the DITA Open Toolkit project.
*
* Copyright 2004, 2005 IBM Corporation
*
* See the accompanying LICENSE file for applicable license.
*/
package org.dita.dost.reader;
import static org.dita.dost.util.Configuration.*;
import static org.dita.dost.util.Constants.*;
import static org.dita.... | src/main/java/org/dita/dost/reader/GenListModuleReader.java | /*
* This file is part of the DITA Open Toolkit project.
*
* Copyright 2004, 2005 IBM Corporation
*
* See the accompanying LICENSE file for applicable license.
*/
package org.dita.dost.reader;
import static org.dita.dost.util.Configuration.*;
import static org.dita.dost.util.Constants.*;
import static org.dita.... | Fix foreign content processing
| src/main/java/org/dita/dost/reader/GenListModuleReader.java | Fix foreign content processing | <ide><path>rc/main/java/org/dita/dost/reader/GenListModuleReader.java
<ide>
<ide> if (foreignLevel > 0) {
<ide> foreignLevel++;
<del> return;
<ide> } else if (TOPIC_FOREIGN.matches(classValue) || TOPIC_UNKNOWN.matches(classValue)) {
<ide> foreignLevel++;
<ide> ... | |
JavaScript | mit | 9d7cb6eba242b912f7bdb5d6ddca9a34670a2335 | 0 | jrtnq514/spawn-it | /**
* Created by JT on 8/26/16.
*/
var chai = require('chai'),
should = chai.should(),
expect = chai.expect,
assert = chai.assert;
var location = require('./../../lib/modules/location');
describe('LOCATION', function() {
describe('city', function() {
describe('with state code', functi... | test/modules/location.js | /**
* Created by JT on 8/26/16.
*/
var chai = require('chai'),
should = chai.should(),
expect = chai.expect,
assert = chai.assert;
var location = require('./../../lib/modules/location');
describe('LOCATION', function() {
describe('city', function() {
it('should return a string', funct... | Adding test for without a statecode.
| test/modules/location.js | Adding test for without a statecode. | <ide><path>est/modules/location.js
<ide>
<ide> describe('city', function() {
<ide>
<del> it('should return a string', function(done) {
<del> var city = location.city('MO');
<del> expect(city).to.be.a('string');
<del> expect(city).to.not.equal(null);
<del> expect(... | |
Java | apache-2.0 | dc40901ee131eaec6ee955fd976379c48d69b27f | 0 | smartnetworks/floodlight,kvm2116/floodlight,ZhangMenghao/Floodlight,fazevedo86/floodlight,m1k3lin0/SDNProject,onebsv1/floodlight,dhruvkakadiya/FloodlightLoadBalancer,cbarrin/EAGERFloodlight,alberthitanaya/floodlight-dnscollector,omkale/myfloodlight,fazevedo86/floodlight,duanjp8617/floodlight,rsharo/floodlight,alexreime... | /**
* Copyright 2011,2012 Big Switch Networks, Inc.
* Originally created by David Erickson, Stanford University
*
* 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
*
* ... | src/main/java/net/floodlightcontroller/core/web/serializers/StatsReplySerializer.java | /**
* Copyright 2011,2012 Big Switch Networks, Inc.
* Originally created by David Erickson, Stanford University
*
* 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
*
* ... | Fixed issue where multipart flow replies would only show the last part/reply and not print the others. Only a REST API issue. This will also fix the Web UI where people reported not seeing all their flows.
| src/main/java/net/floodlightcontroller/core/web/serializers/StatsReplySerializer.java | Fixed issue where multipart flow replies would only show the last part/reply and not print the others. Only a REST API issue. This will also fix the Web UI where people reported not seeing all their flows. | <ide><path>rc/main/java/net/floodlightcontroller/core/web/serializers/StatsReplySerializer.java
<ide> }
<ide>
<ide> public static void serializeFlowReply(List<OFFlowStatsReply> flowReplies, JsonGenerator jGen) throws IOException, JsonProcessingException{
<add> /* start the array before each reply */
<add> jGen.wri... | |
Java | apache-2.0 | 03d78720a3aeedc161d2f5c94987c791dfbf615a | 0 | GIP-RECIA/cas,zhoffice/cas,tduehr/cas,doodelicious/cas,rrenomeron/cas,GIP-RECIA/cas,William-Hill-Online/cas,William-Hill-Online/cas,robertoschwald/cas,William-Hill-Online/cas,tduehr/cas,frett/cas,gabedwrds/cas,tduehr/cas,petracvv/cas,creamer/cas,William-Hill-Online/cas,prigaux/cas,doodelicious/cas,zhoffice/cas,Unicon/c... | package org.jasig.cas.config;
import java.util.Arrays;
import org.jasig.cas.support.openid.web.mvc.SmartOpenIdController;
import org.jasig.cas.web.AbstractDelegateController;
import org.jasig.cas.web.DelegatingController;
import org.openid4java.server.ServerManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFac... | cas-server-support-openid/src/main/java/org/jasig/cas/config/OpenIdConfiguration.java | package org.jasig.cas.config;
import org.jasig.cas.web.AbstractDelegateController;
import org.jasig.cas.web.DelegatingController;
import org.openid4java.server.ServerManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springf... | CAS-1550
changed the instantiation of SmartOpenIdAssociationController so that
ServerManager is instantiated with the correct values
| cas-server-support-openid/src/main/java/org/jasig/cas/config/OpenIdConfiguration.java | CAS-1550 changed the instantiation of SmartOpenIdAssociationController so that ServerManager is instantiated with the correct values | <ide><path>as-server-support-openid/src/main/java/org/jasig/cas/config/OpenIdConfiguration.java
<ide> package org.jasig.cas.config;
<ide>
<add>import java.util.Arrays;
<add>
<add>import org.jasig.cas.support.openid.web.mvc.SmartOpenIdController;
<ide> import org.jasig.cas.web.AbstractDelegateController;
<ide> import o... | |
Java | mit | 5ecc3e7360ebb8a5de07eeed9a021b692eb8ecb4 | 0 | Crash-Test-Buddies/WiFi-Buddy | package edu.rit.se.wifibuddy;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.NetworkInfo;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiManager;... | wifibuddy/src/main/java/edu/rit/se/wifibuddy/WifiDirectHandler.java | package edu.rit.se.wifibuddy;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.NetworkInfo;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiManager;... | Adds test logging
| wifibuddy/src/main/java/edu/rit/se/wifibuddy/WifiDirectHandler.java | Adds test logging | <ide><path>ifibuddy/src/main/java/edu/rit/se/wifibuddy/WifiDirectHandler.java
<ide> unregisterP2pReceiver();
<ide> unregisterP2p();
<ide> }
<add> Log.e(TAG, "TESTTTT");
<ide> localBroadcastManager.sendBroadcast(new Intent(Action.WIFI_STATE_CHANGED));
<ide> }
<ide> | |
JavaScript | mit | b0fe6a480a31ea8b29c5e988085d37493ce3e70f | 0 | NabaviLab/CNV-Visualizer,igvteam/igv.js,NabaviLab/CNV-Visualizer,NabaviLab/CNV-Visualizer,NabaviLab/CNV-Visualizer,igvteam/igv.js,NabaviLab/CNV-Visualizer | var igv = (function (igv) {
igv.createCursorBrowser = function () {
var browser = new igv.Browser("CURSOR"),
contentHeader = $('<div class="row"></div>')[0],
contentHeaderDiv = $('<div id="igvHeaderDiv" class="col-md-12" style="font-size:16px;"><span id="igvHeaderRegionDisplaySpan"... | js/cursor/igv-cursor.js | var igv = (function (igv) {
igv.createCursorBrowser = function () {
var browser = new igv.Browser("CURSOR"),
contentHeader = $('<div class="row"></div>')[0],
contentHeaderDiv = $('<div id="igvHeaderDiv" class="col-md-12" style="font-size:16px;"><span id="igvHeaderRegionDisplaySpan"... | Update frameWidth display in realtime.
| js/cursor/igv-cursor.js | Update frameWidth display in realtime. | <ide><path>s/cursor/igv-cursor.js
<ide> if (frameWidth > 0) {
<ide>
<ide> browser.cursorModel.framePixelWidth = frameWidth;
<add> $( "input[id='frameWidthInput']" ).val( browser.cursorModel.framePixelWidth );
<add>
<ide> browser... | |
Java | lgpl-2.1 | 754d1bc8eb963f26c95f15b72558d7550da9c243 | 0 | CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine | /*
* jETeL/Clover - Java based ETL application framework.
* Created on Apr 25, 2003
* Copyright (C) 2003, 2002 David Pavlis, Wes Maciorowski
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software F... | cloveretl.engine/test/org/jetel/exception/BadDataFormatExceptionHandler_DelimitedDataParserNIO_Test.java | /*
* jETeL/Clover - Java based ETL application framework.
* Created on Apr 25, 2003
* Copyright (C) 2003, 2002 David Pavlis, Wes Maciorowski
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software F... | MINOR: test prints for debugging unit tests removed
git-svn-id: 0c3331f003cd65fce51c5a16c6c1f4b0bff1e9aa@11854 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
| cloveretl.engine/test/org/jetel/exception/BadDataFormatExceptionHandler_DelimitedDataParserNIO_Test.java | MINOR: test prints for debugging unit tests removed | <ide><path>loveretl.engine/test/org/jetel/exception/BadDataFormatExceptionHandler_DelimitedDataParserNIO_Test.java
<ide>
<ide> package org.jetel.exception;
<ide>
<del>import java.io.BufferedReader;
<ide> import java.io.FileInputStream;
<ide> import java.io.FileNotFoundException;
<del>import java.io.IOException;
<del>... | |
Java | mit | d9e1ccc98a36a10941237319628c86c6911f3bc9 | 0 | mwanji/toml4j,bruno-medeiros/toml4j | package com.moandjiezana.toml;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.math.BigDecimal;
import java.math.BigInteger;
... | src/main/java/com/moandjiezana/toml/Toml.java | package com.moandjiezana.toml;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.math.BigDecimal;
import java.math.BigInteger;
... | Added Toml#to(Class, Gson) to allow for test output as specified by
BurntSushi/toml-test | src/main/java/com/moandjiezana/toml/Toml.java | Added Toml#to(Class, Gson) to allow for test output as specified by BurntSushi/toml-test | <ide><path>rc/main/java/com/moandjiezana/toml/Toml.java
<ide> import org.parboiled.support.ParsingResult;
<ide>
<ide> import com.google.gson.Gson;
<add>import com.google.gson.JsonElement;
<ide>
<ide> /**
<ide> * <p>Provides access to the keys and tables in a TOML data source.</p>
<ide> */
<ide> public class Toml {
... | |
Java | mpl-2.0 | f37bc7132c65c5225bc1e2696a4f6fadc4b25bb3 | 0 | etomica/etomica,ajschult/etomica,etomica/etomica,ajschult/etomica,etomica/etomica,ajschult/etomica | package etomica.statmech;
import etomica.util.Arrays;
/**
* Implementation of some semi-empirical equations of state for the
* Lennard-Jones model.
*
* Equations for the fcc solid phase and liquid-fcc saturation conditions are
* based on the empirical formulas proposed by van der Hoef:
*
* [1] M.A. van der H... | etomica/statmech/LennardJones.java | package etomica.statmech;
import etomica.util.Arrays;
/**
* Implementation of some semi-empirical equations of state for the
* Lennard-Jones model.
*
* Equations for the fcc solid phase and liquid-fcc saturation conditions are
* based on the empirical formulas proposed by van der Hoef ("Free energy of the
* Le... | Add van der Hoef's vapor-fcc coexistence equations
| etomica/statmech/LennardJones.java | Add van der Hoef's vapor-fcc coexistence equations | <ide><path>tomica/statmech/LennardJones.java
<ide> * Lennard-Jones model.
<ide> *
<ide> * Equations for the fcc solid phase and liquid-fcc saturation conditions are
<del> * based on the empirical formulas proposed by van der Hoef ("Free energy of the
<del> * Lennard-Jones solid", Journal of Chemical Physics, vol 11... | |
Java | apache-2.0 | 10d2936a73e2699166ba74d32348dff28a69ff1e | 0 | jmrozanec/cron-utils,meincs/cron-utils | package com.cronutils.utils.descriptor;
import com.cronutils.descriptor.CronDescriptor;
import com.cronutils.model.CronType;
import com.cronutils.model.definition.CronDefinitionBuilder;
import com.cronutils.parser.CronParser;
import org.junit.Before;
import org.junit.Test;
import java.util.Locale;
import static org.... | src/test/java/com/cronutils/utils/descriptor/CronDescriptorQuartzIntegrationTest.java | package com.cronutils.utils.descriptor;
import com.cronutils.descriptor.CronDescriptor;
import com.cronutils.model.CronType;
import com.cronutils.model.definition.CronDefinitionBuilder;
import com.cronutils.parser.CronParser;
import org.junit.Before;
import org.junit.Test;
import java.util.Locale;
import static org.... | Failing unit test for issue #103
| src/test/java/com/cronutils/utils/descriptor/CronDescriptorQuartzIntegrationTest.java | Failing unit test for issue #103 | <ide><path>rc/test/java/com/cronutils/utils/descriptor/CronDescriptorQuartzIntegrationTest.java
<ide> import java.util.Locale;
<ide>
<ide> import static org.junit.Assert.assertEquals;
<del>/*
<del> * Copyright 2015 jmrozanec
<del> * Licensed under the Apache License, Version 2.0 (the "License");
<del> * you may not us... | |
Java | apache-2.0 | 0a1b72276ac28c0da50ac01bc99dd01da5f7aa67 | 0 | caot/intellij-community,kool79/intellij-community,kool79/intellij-community,blademainer/intellij-community,MER-GROUP/intellij-community,youdonghai/intellij-community,akosyakov/intellij-community,ThiagoGarciaAlves/intellij-community,orekyuu/intellij-community,alphafoobar/intellij-community,suncycheng/intellij-community,... | /*
* Copyright 2000-2009 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... | java/java-impl/src/com/intellij/codeInsight/unwrap/JavaMethodParameterUnwrapper.java | /*
* Copyright 2000-2009 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... | EA-59683 - NPE: JavaMethodParameterUnwrapper.isApplicableTo
| java/java-impl/src/com/intellij/codeInsight/unwrap/JavaMethodParameterUnwrapper.java | EA-59683 - NPE: JavaMethodParameterUnwrapper.isApplicableTo | <ide><path>ava/java-impl/src/com/intellij/codeInsight/unwrap/JavaMethodParameterUnwrapper.java
<ide>
<ide> private static PsiElement adjustElementToTheLeft(PsiElement element) {
<ide> if (element instanceof PsiJavaToken && ((PsiJavaToken)element).getTokenType() == JavaTokenType.RPARENTH) {
<del> return elem... | |
Java | apache-2.0 | 19681a107fe8258984d20c86b3d140038d31f621 | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | litho-core/src/main/java/com/facebook/litho/ComponentsPools.java | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | Don't disable pooling MountContent in pooling experiment
Summary: The aim of the experiment is to test the effect of recycling internal objects, not mount content.
Reviewed By: pasqualeanatriello
Differential Revision: D5019680
fbshipit-source-id: 576f19123d07dd7a9ec5d0b83bd87d367819b696
| litho-core/src/main/java/com/facebook/litho/ComponentsPools.java | Don't disable pooling MountContent in pooling experiment | <ide><path>itho-core/src/main/java/com/facebook/litho/ComponentsPools.java
<ide> }
<ide>
<ide> static Object acquireMountContent(Context context, int componentId) {
<del> if (!ComponentsConfiguration.usePooling) {
<del> return null;
<del> }
<del>
<ide> if (context instanceof ComponentContext) {
<ide... | |
JavaScript | mit | 169c6616e17aa43ecfbd2beaccfc8646e3e61715 | 0 | jamiechong/ember-cli-unslider,jamiechong/ember-cli-unslider,jamiechong/ember-cli-unslider | /* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'dummy',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-contr... | tests/dummy/config/environment.js | /* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'dummy',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-contr... | dummy production build needs a diff baseUrl for gh pages
| tests/dummy/config/environment.js | dummy production build needs a diff baseUrl for gh pages | <ide><path>ests/dummy/config/environment.js
<ide> }
<ide>
<ide> if (environment === 'production') {
<del>
<add> // For github pages
<add> ENV.baseURL = '/ember-cli-nouislider';
<add> //ENV.locationType = 'hash';
<ide> }
<ide>
<ide> return ENV; | |
Java | epl-1.0 | f87bde7088c470a7c1b83d742dc87053594eb3bf | 0 | ESSICS/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/cs... | package org.csstudio.sds.components.ui.internal.figureparts;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
public class PolarPoint {
/**
* The radial coordinate
*/
public int r;
/**
* The angular coordinate in radians
*/
public double theta;
/**
* @pa... | applications/plugins/org.csstudio.sds.components.ui/src/org/csstudio/sds/components/ui/internal/figureparts/PolarPoint.java | package org.csstudio.sds.components.ui.internal.figureparts;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
public class PolarPoint {
/**
* The radial coordinate
*/
public int r;
/**
* The angular coordinate in radians
*/
public double theta;
/**
* @pa... | add comments
| applications/plugins/org.csstudio.sds.components.ui/src/org/csstudio/sds/components/ui/internal/figureparts/PolarPoint.java | add comments | <ide><path>pplications/plugins/org.csstudio.sds.components.ui/src/org/csstudio/sds/components/ui/internal/figureparts/PolarPoint.java
<ide> public double theta;
<ide>
<ide> /**
<del> * @param r
<del> * @param theta
<add> * @param r The radial coordinate
<add> * @param theta The angular coordinate in radians
<... | |
Java | unlicense | 4c0766337c9e1a7bf5152a59ec8cd96e4be7d4aa | 0 | kwaled/ReROUTE,reecemartin/ReROUTE,kwaled/ReROUTE,aaangelaaa/ReROUTE,aaangelaaa/ReROUTE,reecemartin/ReROUTE | import java.awt.Button;
import javafx.application.Application;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
imp... | src/GUIObject.java | import java.awt.Button;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
public class GUIObject extends Application{
private double pos;
/**
* Creates a GUIObject object at position 0.*/
public... | Added EventHandler (blank) and header. | src/GUIObject.java | Added EventHandler (blank) and header. | <ide><path>rc/GUIObject.java
<ide> import java.awt.Button;
<ide>
<ide> import javafx.application.Application;
<add>import javafx.event.Event;
<add>import javafx.event.EventHandler;
<ide> import javafx.geometry.Insets;
<ide> import javafx.scene.Scene;
<add>import javafx.scene.layout.HBox;
<ide> import javafx.scene.layo... | |
Java | mit | 04680c9d97ee72827ad0cd4adeb883e2b6335172 | 0 | dbcls/ConvRDF | /*
* This code is derived from arq.examples.riot.ExRIOT_6, which is
* distributed under the Apache License, Version 2.0.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Database Center for Life Science (DBCLS) has developed this code
* and releases it under MIT style license.
*/
package jp.ac.rois.dbcls;
i... | src/jp/ac/rois/dbcls/ConvRDF.java | /*
* This code is derived from arq.examples.riot.ExRIOT_6, which is
* distributed under the Apache License, Version 2.0.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Database Center for Life Science (DBCLS) has developed this code
* and releases it under MIT style license.
*/
package jp.ac.rois.dbcls;
i... | Reorder imported libraries listed at the top for improving readability. | src/jp/ac/rois/dbcls/ConvRDF.java | Reorder imported libraries listed at the top for improving readability. | <ide><path>rc/jp/ac/rois/dbcls/ConvRDF.java
<ide> import org.apache.jena.riot.lang.PipedRDFStream;
<ide> import org.apache.jena.riot.lang.PipedTriplesStream;
<ide> import org.apache.jena.riot.system.ErrorHandlerFactory;
<add>import org.apache.jena.riot.RDFLanguages;
<ide> import org.apache.jena.graph.Triple;
<ide> impo... | |
Java | agpl-3.0 | 399376959a13541878c64eac076a36eceab3c145 | 0 | genepi/imputationserver | package genepi.imputationserver.steps;
import genepi.hadoop.HdfsUtil;
import genepi.hadoop.PreferenceStore;
import genepi.hadoop.common.WorkflowContext;
import genepi.hadoop.common.WorkflowStep;
import genepi.hadoop.importer.IImporter;
import genepi.hadoop.importer.ImporterFactory;
import genepi.imputationserver.steps... | src/main/java/genepi/imputationserver/steps/InputValidation.java | package genepi.imputationserver.steps;
import genepi.hadoop.HdfsUtil;
import genepi.hadoop.PreferenceStore;
import genepi.hadoop.common.WorkflowContext;
import genepi.hadoop.common.WorkflowStep;
import genepi.hadoop.importer.IImporter;
import genepi.hadoop.importer.ImporterFactory;
import genepi.imputationserver.steps... | removing unused load of chrX tester | src/main/java/genepi/imputationserver/steps/InputValidation.java | removing unused load of chrX tester | <ide><path>rc/main/java/genepi/imputationserver/steps/InputValidation.java
<ide>
<ide> private boolean checkVcfFiles(WorkflowContext context) {
<ide> String folder = getFolder(InputValidation.class);
<del> String tester;
<add> //String tester;
<ide> // inputs
<ide> String inputFiles = context.get("files");
<i... | |
Java | mit | 5eca609c44ad56847857daac349e12a64fb306b3 | 0 | dashteacup/PassMan | package cs242.pcurry2.pm;
import java.io.File;
import javax.swing.filechooser.FileFilter;
/**
* Custom file filter to restrict the openable files to .PMAN files
*/
public class PmanFileFilter extends FileFilter {
/**
* Determines if a file should be displayed as selectable in the file
* chooser.
... | src/cs242/pcurry2/pm/PmanFileFilter.java | package cs242.pcurry2.pm;
import java.io.File;
import javax.swing.filechooser.FileFilter;
/**
* Custom file filter to restrict the openable files to .PMAN files
*/
public class PmanFileFilter extends FileFilter {
@Override
public boolean accept(File f) {
if (f.isDirectory()) {
return t... | Cleaned up code and comments for file chooser filter.
| src/cs242/pcurry2/pm/PmanFileFilter.java | Cleaned up code and comments for file chooser filter. | <ide><path>rc/cs242/pcurry2/pm/PmanFileFilter.java
<ide> */
<ide> public class PmanFileFilter extends FileFilter {
<ide>
<add> /**
<add> * Determines if a file should be displayed as selectable in the file
<add> * chooser.
<add> */
<ide> @Override
<ide> public boolean accept(File f) {
<ide> ... | |
Java | apache-2.0 | 603ee688cb5cb1e75a1fa86bb7b4bd604ac82f68 | 0 | smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto | /*
* 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 writing, software
* distribut... | plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/cache/CachingHiveMetastore.java | /*
* 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 writing, software
* distribut... | Remove redundant asyncReloading CacheLoader wrapper
The changed caches do not set `cacheBuilder.refreshAfterWrite` (since
3a1bf59d7ca5008419d3efacf00fe1e99fa1d91c), so the `asyncReloading`,
which changes `CacheLoader.reload`, and delegates the reset), was
redundant.
| plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/cache/CachingHiveMetastore.java | Remove redundant asyncReloading CacheLoader wrapper | <ide><path>lugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/cache/CachingHiveMetastore.java
<ide>
<ide> // disable refresh since it can't use the bulk loading and causes too many requests
<ide> partitionStatisticsCache = newCacheBuilder(expiresAfterWriteMillis, OptionalLong.empty(), maximu... | |
JavaScript | mit | d0a435bf8d3ad7a5817c5cdc88de5736ee8000e2 | 0 | Codewest/prente,Codewest/prente | var menuOpen = false;
var addEventListeners = function () {
$(".hamburger").on('click', toggleMenu);
$(".menu-item").on('click', togglePage);
};
var toggleMenu = function() {
toggleButtonIcon($(".hamburger i"), "menu", "close");
$(".menu").slideToggle();
};
var togglePage = function() {
$();
};
... | public/js/app.min.js | var menuOpen = false;
var addEventListeners = function () {
$(".hamburger").on('click', toggleMenu);
$(".menu-item").on('click', togglePage);
};
var toggleMenu = function() {
toggleButtonIcon($(".hamburger i"), "menu", "close");
$(".menu").slideToggle();
};
var togglePage = function() {
$();
};
... | added line
| public/js/app.min.js | added line | <ide><path>ublic/js/app.min.js
<ide> window.open("https://www.google.be/maps/dir/" + xStart + "," + yStart + "/" + xDestination + "," + yDestination + "/@" + xCenter + "," + yCenter + "," + zoom +"z");
<ide> };
<ide>
<del><<<<<<< HEAD
<ide> /**
<ide> * Created by Sam on 14/10/2016.
<ide> */
<ide> 'fi... | |
Java | apache-2.0 | e54418ed2d75fec8b15628461be544c43dac1990 | 0 | andrescabrera/gwt-dojo-toolkit,andrescabrera/gwt-dojo-toolkit,andrescabrera/gwt-dojo-toolkit,andrescabrera/gwt-dojo-toolkit,andrescabrera/gwt-dojo-toolkit | /*
* Copyright 2012 ArkaSoft 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | src/gwt/dojo/mobile/client/Heading.java | /*
* Copyright 2012 ArkaSoft 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | API properties for Heading | src/gwt/dojo/mobile/client/Heading.java | API properties for Heading | <ide><path>rc/gwt/dojo/mobile/client/Heading.java
<ide> import gwt.dojo.dijit.client._WidgetBase;
<ide>
<ide> public class Heading extends _WidgetBase implements IContainer, IContained {
<del>
<del> public static final String MODULE = "dojox/mobile/Heading";
<ide>
<del> public static native Heading create() /*-{
<de... | |
Java | apache-2.0 | e2c37836ace551158deb878d5a2a0ed9fdf5d91c | 0 | henrichg/PhoneProfilesPlus | package sk.henrichg.phoneprofilesplus;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.KeyguardManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.WallpaperManager... | phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/ActivateProfileHelper.java | package sk.henrichg.phoneprofilesplus;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.KeyguardManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.WallpaperManager... | Fixed change ringer mode between Interruptions and non-interruption modes
| phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/ActivateProfileHelper.java | Fixed change ringer mode between Interruptions and non-interruption modes | <ide><path>honeProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/ActivateProfileHelper.java
<ide> switch (ringerMode) {
<ide> case 1: // Ring
<ide> //RingerModeChangeReceiver.internalChange = true;
<add> setZenMode(context, ZENMODE_ALL, audioMan... | |
Java | lgpl-2.1 | 626be668a65ca30820109992ea0901c6425eb3c3 | 0 | iAlios/Utils |
package com.alio.utils;
public class IntUtils {
/**
* short 转 byte[] (由高位到低位)
*
* @param i
* @return
*/
public static byte[] shortToByteArray(short i) {
byte[] result = new byte[2];
// 由高位到低位
result[0] = (byte) ((i >> 8) & 0xFF);
result[1] = (byte) (i & 0xFF);
return result;
}
/**
* byte[... | com/alio/utils/IntUtils.java |
package com.alio.utils;
public class IntUtils {
/**
* short 转 byte[] (由高位到低位)
*
* @param i
* @return
*/
public static byte[] shortToByteArray(short i) {
byte[] result = new byte[2];
// 由高位到低位
result[0] = (byte) ((i >> 8) & 0xFF);
result[1] = (byte) (i & 0xFF);
return result;
}
/**
* byte[... | 添加 long double 数据转换方式 | com/alio/utils/IntUtils.java | 添加 long double 数据转换方式 | <ide><path>om/alio/utils/IntUtils.java
<ide> * @param i
<ide> * @return
<ide> */
<del> public static byte[] intToByteArray(int i) {
<add> public static byte[] intToByteArray(int fbit) {
<add> // 由高位到低位
<add> byte[] b = new byte[4];
<add> for (int i = 0; i < 4; i++) {
<add> b[i] = (byte) (fbit >> ((4 - 1 - i)... | |
Java | apache-2.0 | 57a14266d81055c83f63848820c59b8827b11586 | 0 | jcshen007/cloudstack,resmo/cloudstack,mufaddalq/cloudstack-datera-driver,GabrielBrascher/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,mufaddalq/cloudstack-datera-driver,resmo/cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,wido/cloudstack,wido/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,G... | // 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... | plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java | // 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... | agent: Remove dummy debug line
This does nothing
| plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java | agent: Remove dummy debug line | <ide><path>lugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
<ide> value = (String) params.get("host.reserved.mem.mb");
<ide> _dom0MinMem = NumbersUtil.parseInt(value, 0) * 1024 * 1024;
<ide>
<del> value = (String) params.get("debug.mode");
<del>
<ide> ... | |
Java | apache-2.0 | 1a9ee30dbab8b3e66ccffae0f133f4a8779072d1 | 0 | MichaelNedzelsky/intellij-community,blademainer/intellij-community,nicolargo/intellij-community,blademainer/intellij-community,vvv1559/intellij-community,vladmm/intellij-community,suncycheng/intellij-community,jagguli/intellij-community,pwoodworth/intellij-community,ryano144/intellij-community,nicolargo/intellij-commun... | /*
* Copyright 2000-2009 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... | java/java-impl/src/com/intellij/refactoring/util/duplicates/MethodDuplicatesHandler.java | /*
* Copyright 2000-2009 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... | EA-28869 - AIOOBE: MethodDuplicatesHandler.hasDuplicates
| java/java-impl/src/com/intellij/refactoring/util/duplicates/MethodDuplicatesHandler.java | EA-28869 - AIOOBE: MethodDuplicatesHandler.hasDuplicates | <ide><path>ava/java-impl/src/com/intellij/refactoring/util/duplicates/MethodDuplicatesHandler.java
<ide> PsiElement[] pattern = statements;
<ide> ReturnValue matchedReturnValue = null;
<ide> if (statements.length != 1 || !(statements[0] instanceof PsiReturnStatement)) {
<del> final PsiStatement lastSta... | |
Java | apache-2.0 | 4bc84f5c8de1230a7f7af59f5291a3938c6baee1 | 0 | markwoon/pathvisio,PathVisio/pathvisio,markwoon/pathvisio,markwoon/pathvisio,PathVisio/pathvisio,PathVisio/pathvisio,markwoon/pathvisio,PathVisio/pathvisio | // PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2007 BiGCaT Bioinformatics
//
// 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
//
/... | src/core/org/pathvisio/Globals.java | // PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2007 BiGCaT Bioinformatics
//
// 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
//
/... | Started new Help page for pv 1.1
| src/core/org/pathvisio/Globals.java | Started new Help page for pv 1.1 | <ide><path>rc/core/org/pathvisio/Globals.java
<ide> public class Globals
<ide> {
<ide> public static final String APPLICATION_NAME = "PathVisio";
<del> public static final String HELP_URL = "http://wiki.bigcat.unimaas.nl/pathvisio/Help";
<add> public static final String HELP_URL = "http://www.pathvisio.org/Help_1.1";... | |
Java | agpl-3.0 | 895cb28f179c10cb6cca471b6617fbbb601d65c4 | 0 | bio4j/bio4j | /*
* Copyright (C) 2010-2011 "Bio4j"
*
* This file is part of Bio4j
*
* Bio4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later ve... | src/main/java/com/era7/bioinfo/bio4j/blueprints/model/nodes/ProteinNode.java | /*
* Copyright (C) 2010-2011 "Bio4j"
*
* This file is part of Bio4j
*
* Bio4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later ve... | making progress on integration of all external DB refs from Uniprot
| src/main/java/com/era7/bioinfo/bio4j/blueprints/model/nodes/ProteinNode.java | making progress on integration of all external DB refs from Uniprot | <ide><path>rc/main/java/com/era7/bioinfo/bio4j/blueprints/model/nodes/ProteinNode.java
<ide> vertex.setProperty(MGI_REFERENCES_PROPERTY, value);
<ide> }
<ide>
<del>
<del>
<del> public static final String MICADO_REFERENCES_PROPERTY = "protein_micado_references";
<del> public static final S... | |
Java | apache-2.0 | 873f4547bde97cb4e86dcc0ea5eb6580662fe838 | 0 | marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api | /*
* Copyright (c) 2021 MarkLogic Corporation
*
* 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 ... | marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestOpticOnLiterals.java | /*
* Copyright (c) 2021 MarkLogic Corporation
*
* 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 ... | Uncommented after class method
| marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestOpticOnLiterals.java | Uncommented after class method | <ide><path>arklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestOpticOnLiterals.java
<ide> } catch (Exception ex) {
<ide> assertTrue("Incorrect error/exception message", ex.getMessage().contains("failed to apply resource at rows: Internal Server Error"));
<ide> }
<del>... | |
Java | mit | 007cf407cc8fac1dd331bc02523ab02839f5a256 | 0 | earlwlkr/awesomeFb,earlwlkr/awesomeFb,earlwlkr/awesomeFb | package awesomefb;
import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.MongoClient;
import java.net.UnknownHostException;
/**
* Created by earl on 5/25/2015.
*/
public class DatabaseManager {
private static DatabaseManager instance = null;
private DB... | backend/src/main/java/awesomefb/DatabaseManager.java | package awesomefb;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.MongoClient;
import java.net.UnknownHostException;
/**
* Created by earl on 5/25/2015.
*/
public class DatabaseManager {
private static DatabaseManager instance = null;
private DB database;
private DBCollectio... | DatabaseManager class
| backend/src/main/java/awesomefb/DatabaseManager.java | DatabaseManager class | <ide><path>ackend/src/main/java/awesomefb/DatabaseManager.java
<ide> package awesomefb;
<ide>
<add>import com.mongodb.BasicDBObject;
<ide> import com.mongodb.DB;
<ide> import com.mongodb.DBCollection;
<ide> import com.mongodb.MongoClient;
<ide> usersCollection.drop();
<ide> }
<ide>
<del> public DBColle... | |
Java | mit | 307d4adfd6192697cebf7f34b1ab9aea362c3831 | 0 | HumBuch/HumBuch,HumBuch/HumBuch,HumBuch/HumBuch | package de.dhbw.humbuch.model.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import de.dhbw.humbuch.model.entity.TeachingMateria... | src/main/java/de/dhbw/humbuch/model/entity/SchoolYear.java | package de.dhbw.humbuch.model.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="schoolYear")
public class Scho... | SchoolYear entsprechend des neuen TeachingMaterial angepasst | src/main/java/de/dhbw/humbuch/model/entity/SchoolYear.java | SchoolYear entsprechend des neuen TeachingMaterial angepasst | <ide><path>rc/main/java/de/dhbw/humbuch/model/entity/SchoolYear.java
<ide> import javax.persistence.GenerationType;
<ide> import javax.persistence.Id;
<ide> import javax.persistence.Table;
<add>
<add>import de.dhbw.humbuch.model.entity.TeachingMaterial.Term;
<ide>
<ide> @Entity
<ide> @Table(name="schoolYear")
<ide> ... | |
Java | mit | c1f9a44dc75bcbdc338b0b6da20e95d63d9a5543 | 0 | dbsoftcombr/dbsfaces,dbsoftcombr/dbsfaces,dbsoftcombr/dbsfaces | package br.com.dbsoft.ui.component.actioncontroller;
import br.com.dbsoft.message.DBSMessages;
import br.com.dbsoft.message.IDBSMessage;
import br.com.dbsoft.message.IDBSMessages;
import br.com.dbsoft.message.IDBSMessagesListener;
import br.com.dbsoft.ui.core.DBSMessagesFacesContext;
/**
* Controla a execução de um ... | src/main/java/br/com/dbsoft/ui/component/actioncontroller/DBSActionController.java | package br.com.dbsoft.ui.component.actioncontroller;
import br.com.dbsoft.message.DBSMessages;
import br.com.dbsoft.message.IDBSMessage;
import br.com.dbsoft.message.IDBSMessages;
import br.com.dbsoft.message.IDBSMessagesListener;
import br.com.dbsoft.ui.core.DBSMessagesFacesContext;
/**
* Controla a execução de um ... | Documentação | src/main/java/br/com/dbsoft/ui/component/actioncontroller/DBSActionController.java | Documentação | <ide><path>rc/main/java/br/com/dbsoft/ui/component/actioncontroller/DBSActionController.java
<ide> /**
<ide> * Evento disparado antes de executar o processamento existente em <b>onExecute</b>.</br>
<ide> * Este evento deve ser utilizado para enviar mensagens de validação ou confirmação anterior a execução.
<del> ... | |
Java | apache-2.0 | 105b3b1d3496786cd85305e462d208edf66d1ca9 | 0 | apache/jackrabbit,apache/jackrabbit,apache/jackrabbit | /*
* Copyright 2004-2005 The Apache Software Foundation or its licensors,
* as applicable.
*
* 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.apa... | src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java | /*
* Copyright 2004-2005 The Apache Software Foundation or its licensors,
* as applicable.
*
* 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.apa... | Workspace.clone(...,removeExisting=true) & Workspace.importXML(..., IMPORT_UUID_COLLISION_REMOVE_EXISTING) potentially leaves repository in inconsistent state
git-svn-id: e3d4743c6b03e3f6fd6d8117e7616b4c02d9b980@160782 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java | Workspace.clone(...,removeExisting=true) & Workspace.importXML(..., IMPORT_UUID_COLLISION_REMOVE_EXISTING) potentially leaves repository in inconsistent state | <ide><path>rc/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java
<ide> NodeId parentId = new NodeId(parentUUID);
<ide>
<ide> // unlink target node from this parent
<del> unlinkNodeState(target, parentUUID);
<add> unlinkNode(target, parentUUID);
<ide>
<ide> ... | |
Java | bsd-3-clause | 4e3c8eb277aa380633361d15f1f2290b0d8f5c69 | 0 | lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon | /*
* $Id: ArchivalUnitStatus.java,v 1.80 2009-06-01 07:32:07 tlipkis Exp $
*/
/*
Copyright (c) 2000-2008 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the ... | src/org/lockss/state/ArchivalUnitStatus.java | /*
* $Id: ArchivalUnitStatus.java,v 1.79 2009-05-22 19:14:55 dshr Exp $
*/
/*
Copyright (c) 2000-2008 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "So... | Display existence of, current state, and possibly description of crawl
window.
git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@8118 4f837ed2-42f5-46e7-a7a5-fa17313484d4
| src/org/lockss/state/ArchivalUnitStatus.java | Display existence of, current state, and possibly description of crawl window. | <ide><path>rc/org/lockss/state/ArchivalUnitStatus.java
<ide> /*
<del> * $Id: ArchivalUnitStatus.java,v 1.79 2009-05-22 19:14:55 dshr Exp $
<add> * $Id: ArchivalUnitStatus.java,v 1.80 2009-06-01 07:32:07 tlipkis Exp $
<ide> */
<ide>
<ide> /*
<ide> res.add(new StatusTable.SummaryInfo("Created",
<ide> Colum... | |
Java | epl-1.0 | d8d184888b95deba16ff509b571b4a89bb96f104 | 0 | boothen/Json-Eclipse-Plugin,boothen/Json-Eclipse-Plugin,boothen/Json-Eclipse-Plugin,boothen/Json-Eclipse-Plugin | package com.boothen.jsonedit.folding;
import java.util.List;
import org.antlr.v4.runtime.ParserRuleContext;
import org.eclipse.jface.text.Position;
import com.boothen.jsonedit.antlr.JSONBaseVisitor;
import com.boothen.jsonedit.antlr.JSONParser.ArrayContext;
import com.boothen.jsonedit.antlr.JSONParser.Objec... | jsonedit-folding/src/main/java/com/boothen/jsonedit/folding/FoldingVisitor.java | package com.boothen.jsonedit.folding;
import java.util.List;
import org.antlr.v4.runtime.ParserRuleContext;
import org.eclipse.jface.text.Position;
import com.boothen.jsonedit.antlr.JSONBaseVisitor;
import com.boothen.jsonedit.antlr.JSONParser.ArrayContext;
import com.boothen.jsonedit.antlr.JSONParser.Objec... | Create folding tags only for correct tree nodes
| jsonedit-folding/src/main/java/com/boothen/jsonedit/folding/FoldingVisitor.java | Create folding tags only for correct tree nodes | <ide><path>sonedit-folding/src/main/java/com/boothen/jsonedit/folding/FoldingVisitor.java
<ide> }
<ide>
<ide> private boolean isFoldingPoint(ParserRuleContext ctx) {
<add> if (ctx.exception != null) {
<add> return false;
<add> }
<add>
<ide> // the root element is at depth 1 and... | |
Java | apache-2.0 | e497b487847607c3432c8ae672f4b37b44daf0f3 | 0 | williamchand/linebotsdk | package com.example.bot.spring;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UncheckedIOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
import... | sample-spring-boot-kitchensink/src/main/java/com/example/bot/spring/KitchenSinkController.java | package com.example.bot.spring;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UncheckedIOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
import... | Add Existing Files
| sample-spring-boot-kitchensink/src/main/java/com/example/bot/spring/KitchenSinkController.java | Add Existing Files | <ide><path>ample-spring-boot-kitchensink/src/main/java/com/example/bot/spring/KitchenSinkController.java
<ide> }
<ide> this.reply(replyToken, new TextMessage(message));
<ide> }
<del> private Timer startTimer(final int value) {
<add> private Timer startTimer(final String value) {
<ide> ... | |
Java | mit | 6750cc5cfd70ce29faec4a4618e5cb2b9dddcb41 | 0 | TeamCautionRobotics/2015-FRC-robot | package org.usfirst.frc.team1492.robot;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.Joystick.AxisType;
import edu.wpi.first.wpilibj.SampleRobot;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.smartd... | src/org/usfirst/frc/team1492/robot/Robot.java | package org.usfirst.frc.team1492.robot;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.Joystick.AxisType;
import edu.wpi.first.wpilibj.SampleRobot;
import edu.wpi.first.wpilibj.Servo;
import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.Tal... | Removed camera servo and test solenoid
| src/org/usfirst/frc/team1492/robot/Robot.java | Removed camera servo and test solenoid | <ide><path>rc/org/usfirst/frc/team1492/robot/Robot.java
<ide> import edu.wpi.first.wpilibj.Joystick;
<ide> import edu.wpi.first.wpilibj.Joystick.AxisType;
<ide> import edu.wpi.first.wpilibj.SampleRobot;
<del>import edu.wpi.first.wpilibj.Servo;
<del>import edu.wpi.first.wpilibj.Solenoid;
<ide> import edu.wpi.first.wpili... | |
Java | mit | 559a1ce404edf6274e40a194146676fa1eb666ad | 0 | aistis-/numerical-methods | package tools;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
public class Reader {
private ArrayList<String> fileData = new ArrayList<String>();
public Reader(String filePath) {
this.read(filePath); // read file data
}
public b... | src/tools/Reader.java | package tools;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
public class Reader {
private ArrayList<String> fileData = new ArrayList<String>();
public Reader(String filePath) {
this.read(filePath); // read file data
}
public b... | Info message added
| src/tools/Reader.java | Info message added | <ide><path>rc/tools/Reader.java
<ide>
<ide> Scanner scanner = new Scanner(stream);
<ide>
<del> System.out.println("Reading from file " + filePath + " started");
<add> System.out.println("Reading from file " + filePath);
<ide>
<ide> while(scanner.hasNextLine()){
<ide> ... | |
JavaScript | mit | 15304fe088e6dcf88dfdf8fd077722a92e4c9199 | 0 | machty/ember-concurrency,machty/ember-concurrency,machty/ember-concurrency,machty/ember-concurrency | import { scheduleOnce } from '@ember/runloop';
import { addObserver } from '@ember/object/observers';
import { addListener } from '@ember/object/events';
import EmberObject from '@ember/object';
import { getOwner } from '@ember/application';
import Ember from 'ember';
import {
default as TaskInstance,
getRunningIns... | addon/-task-property.js | import { scheduleOnce } from '@ember/runloop';
import { addObserver } from '@ember/object/observers';
import { addListener } from '@ember/object/events';
import EmberObject from '@ember/object';
import { getOwner } from '@ember/application';
import Ember from 'ember';
import {
default as TaskInstance,
getRunningIns... | Add missing doc reference for `evented()` modifier (#228)
| addon/-task-property.js | Add missing doc reference for `evented()` modifier (#228) | <ide><path>ddon/-task-property.js
<ide> */
<ide>
<ide> /**
<add> * Activates lifecycle events, allowing Evented host objects to react to task state
<add> * changes.
<add> *
<add> * ```js
<add> * export default Component.extend({
<add> * uploadTask: task(function* (file) {
<add> * // ... file u... | |
Java | apache-2.0 | a55eb068616ef4b6801c2ac7970694f71f7fcf0b | 0 | ChiralBehaviors/Kramer,ChiralBehaviors/Kramer | /**
* Copyright (c) 2016 Chiral Behaviors, 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 req... | kramer/src/main/java/com/chiralbehaviors/layout/schema/Relation.java | /**
* Copyright (c) 2016 Chiral Behaviors, 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 req... | holy fucking shit. Just needed to let the list cell be managed. | kramer/src/main/java/com/chiralbehaviors/layout/schema/Relation.java | holy fucking shit. Just needed to let the list cell be managed. | <ide><path>ramer/src/main/java/com/chiralbehaviors/layout/schema/Relation.java
<ide> private void initialize(Function<JsonNode, JsonNode> extractor,
<ide> Layout layout) {
<ide> cell = new VBox();
<add> cell.setMinSize(0, 0);
<add> ... | |
JavaScript | apache-2.0 | 5c6cd653de379c0d145c424266871d2a29e469e0 | 0 | prembasumatary/aws-sdk-js,jeskew/aws-sdk-js,mohamed-kamal/aws-sdk-js,LiuJoyceC/aws-sdk-js,GlideMe/aws-sdk-js,GlideMe/aws-sdk-js,mapbox/aws-sdk-js,odeke-em/aws-sdk-js,jmswhll/aws-sdk-js,misfitdavidl/aws-sdk-js,GlideMe/aws-sdk-js,jeskew/aws-sdk-js,mohamed-kamal/aws-sdk-js,MitocGroup/aws-sdk-js,aws/aws-sdk-js,LiuJoyceC/aw... | /**
* Copyright 2011-2012 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 ... | lib/config.js | /**
* Copyright 2011-2012 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 ... | Document AWS.Credentials class
| lib/config.js | Document AWS.Credentials class | <ide><path>ib/config.js
<ide> }
<ide> });
<ide>
<add>/**
<add> * Represents your AWS security credentials, specifically the
<add> * {accessKeyId}, {secretAcessKey}, and optional {sessionToken}.
<add> * Creating a +Credentials+ object allows you to pass around your
<add> * security information to configuration and se... | |
Java | apache-2.0 | e31303c803953514ad3a9d19af17e7adfda43a55 | 0 | jooby-project/jooby,jooby-project/jooby,jooby-project/jooby,jooby-project/jooby,jooby-project/jooby | /**
* 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... | jooby/src/main/java/org/jooby/Jooby.java | /**
* 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... | Fix path when loading Logback configuration on classpath.
| jooby/src/main/java/org/jooby/Jooby.java | Fix path when loading Logback configuration on classpath. | <ide><path>ooby/src/main/java/org/jooby/Jooby.java
<ide> logback = conf.getString("logback.configurationFile");
<ide> } else {
<ide> String env = conf.hasPath("application.env") ? conf.getString("application.env") : null;
<del> URL cpconf = Jooby.class.getResource("logback." + env + ".xml");
<add> ... | |
Java | apache-2.0 | 98b83dad479d872e7da457e6fa66393f2e1a54fc | 0 | taer/lettuce,lettuce-io/lettuce-core,pulse00/lettuce,pulse00/lettuce,Hocdoc/lettuce,Hocdoc/lettuce,lettuce-io/lettuce-core,lettuce-io/lettuce-core,lettuce-io/lettuce-core,mp911de/lettuce,mp911de/lettuce,taer/lettuce | // Copyright (C) 2011 - Will Glozer. All rights reserved.
package com.lambdaworks.redis.protocol;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicRe... | src/main/java/com/lambdaworks/redis/protocol/CommandHandler.java | // Copyright (C) 2011 - Will Glozer. All rights reserved.
package com.lambdaworks.redis.protocol;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicRe... | Handle premature channelInactive while ongoing close (avoid NPE)
| src/main/java/com/lambdaworks/redis/protocol/CommandHandler.java | Handle premature channelInactive while ongoing close (avoid NPE) | <ide><path>rc/main/java/com/lambdaworks/redis/protocol/CommandHandler.java
<ide>
<ide> if (closed) {
<ide>
<del> List<RedisCommand<K, V, ?>> toCancel = new ArrayList<RedisCommand<K, V, ?>>(queue.size() + commandBuffer.size());
<del>
<del> toCancel.addAll(queue);
<del> toCancel... | |
JavaScript | agpl-3.0 | 7aa45cfbbcd690fcc68b200a0630c5447860b141 | 0 | inverse/emoncms,inverse/emoncms,emoncms/emoncms,chaveiro/emoncms,emoncms/emoncms,chaveiro/emoncms,chaveiro/emoncms,emoncms/emoncms,emoncms/emoncms,chaveiro/emoncms,emoncms/emoncms,inverse/emoncms,inverse/emoncms | /*global view */
/*eslint no-undef: "error"*/
var plotdata = [];
var timeWindowChanged = 0;
var ajaxAsyncXdr = [];
var event_visFeedData;
var event_refresh;
var showlegend = true;
var datetimepicker1;
var datetimepicker2;
var datatype;
var graphtype;
function convertToPlotlist(multigraphFeedlist) {
if (!multigraphFe... | Modules/vis/visualisations/multigraph/multigraph.js | /*global view */
/*eslint no-undef: "error"*/
var plotdata = [];
var timeWindowChanged = 0;
var ajaxAsyncXdr = [];
var event_visFeedData;
var event_refresh;
var showlegend = true;
var datetimepicker1;
var datetimepicker2;
var datatype;
var graphtype;
function convertToPlotlist(multigraphFeedlist) {
if (!multigraphFe... | Update multigraph.js | Modules/vis/visualisations/multigraph/multigraph.js | Update multigraph.js | <ide><path>odules/vis/visualisations/multigraph/multigraph.js
<ide> datatype=1;
<ide>
<ide> for (var z in multigraphFeedlist) {
<del> z = parseInt(z);
<del> var tag = (showtag && typeof multigraphFeedlist[z]["tag"] !== "undefined" && multigraphFeedlist[z]["tag"] !== "" ? multigraphFeedlist[z]["tag"]+": " : "... | |
Java | agpl-3.0 | 2d13f8989509d52a0b9292336aa090be8b979336 | 0 | Periapsis/aphelion,Periapsis/aphelion | /*
* Aphelion
* Copyright (c) 2013 Joris van der Wel
*
* This file is part of Aphelion
*
* Aphelion is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Aphelion i... | src/test/java/aphelion/shared/net/WebSocketTest.java | /*
* Aphelion
* Copyright (c) 2013 Joris van der Wel
*
* This file is part of Aphelion
*
* Aphelion is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Aphelion i... | Increase timeout in the websocket test case
The protocol .class files are lazy loaded which might not be able to complete within 2 seconds (especially when running with coverage)
| src/test/java/aphelion/shared/net/WebSocketTest.java | Increase timeout in the websocket test case | <ide><path>rc/test/java/aphelion/shared/net/WebSocketTest.java
<ide> sessionToken = null;
<ide> }
<ide>
<del> @Test(timeout=2000)
<add> @Test(timeout=20000)
<ide> public void testSingleGameWebSocket() throws IOException, URISyntaxException
<ide> {
<ide> ... | |
Java | apache-2.0 | 143a62b6bfe4239849095eb766ab2a136d80c73c | 0 | gorcz/spring-boot,hehuabing/spring-boot,bsodzik/spring-boot,balajinsr/spring-boot,joshthornhill/spring-boot,axibase/spring-boot,frost2014/spring-boot,VitDevelop/spring-boot,jforge/spring-boot,master-slave/spring-boot,satheeshmb/spring-boot,kayelau/spring-boot,VitDevelop/spring-boot,fulvio-m/spring-boot,mbrukman/spring-... | /*
* Copyright 2002-2014 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... | spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration.java | /*
* Copyright 2002-2014 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... | Polish
| spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration.java | Polish | <ide><path>pring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration.java
<ide> }
<ide>
<ide> }
<add>
<ide> } | |
Java | apache-2.0 | 35be6bcb1d10eca539ca19bfde53eccf9deafa9b | 0 | z-yuxie/yuxie-TGD,z-yuxie/yuxie-TGD,z-yuxie/yuxie-TGD | package com.yuxie.tgd.common.util;
import com.alibaba.fastjson.JSONObject;
import com.yuxie.tgd.pojo.bean.dataMerge.*;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import java.text.SimpleDateFormat;
import java.util.List;
import java.util.Map;
import java.util.S... | tgd-interface/src/main/java/com/yuxie/tgd/common/util/DataStatusUtils.java | package com.yuxie.tgd.common.util;
import com.alibaba.fastjson.JSONObject;
import com.yuxie.tgd.pojo.bean.dataMerge.*;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import java.text.SimpleDateFormat;
import java.util.List;
import java.util.Map;
import java.util.S... | 增加了一个用于测试git连接性的注释
| tgd-interface/src/main/java/com/yuxie/tgd/common/util/DataStatusUtils.java | 增加了一个用于测试git连接性的注释 | <ide><path>gd-interface/src/main/java/com/yuxie/tgd/common/util/DataStatusUtils.java
<ide> import java.util.Map;
<ide> import java.util.Set;
<ide>
<add>/**
<add> * 计算数据的状态值的工具类
<add> */
<ide> public class DataStatusUtils {
<ide>
<ide> /** | |
JavaScript | mit | a06de06cbfc943785c87f5a7ec577b8b91e7002d | 0 | rossanag/bicimapuy,rossanag/bicimapuy | var routeControl = null;
var showControl = false;
var line = null;
function convertirKM(distancia)
{
var distanciaConvertida = '';
if (distancia >= 1000)
{
distancia = distancia/1000;
distanciaConvertida = distancia.toString() + ' km';
}
else
distanciaConvertida = distancia... | public/js/controlrouting.js | var routeControl = null;
var showControl = false;
var line = null;
function convertirKM(distancia)
{
var distanciaConvertida = '';
if (distancia >= 1000)
{
distancia = distancia/1000;
distanciaConvertida = distancia.toString() + ' km';
}
else
distanciaConvertida = distancia... | ruteo con mapzen
| public/js/controlrouting.js | ruteo con mapzen | <ide><path>ublic/js/controlrouting.js
<ide> function crearControlRouting() {
<ide> var control = L.Routing.control({
<ide> routeLine: function (route, options) { return L.Routing.mapzenLine(route, options); },
<del> waypoints: routingData.waypoints,
<add> // waypoints: routingData.waypoints,
<ide> // You can... | |
JavaScript | mit | eba89a63eebfc52e7050ebe5103f58d7e5a16979 | 0 | opendatacity/zeitungssterben,opendatacity/zeitungssterben | $(function () {
var initialTitle = document.title;
$(Z).on('Z:publicationchange', function (ev, publication) {
document.title = [publication.title, initialTitle].join(': ');
if (typeof history.replaceState === 'function') {
history.replaceState(publication, publication.title, Z.slugify(publication));
$(Z).... | app/scripts/state.js | $(function () {
var base = '/';
var initialTitle = document.title;
$(Z).on('Z:publicationchange', function (ev, publication) {
document.title = [publication.title, initialTitle].join(': ');
if (typeof history.replaceState === 'function') {
history.replaceState(publication, publication.title, Z.slugify(public... | Fix generated pages not showing publication on load
| app/scripts/state.js | Fix generated pages not showing publication on load | <ide><path>pp/scripts/state.js
<ide> $(function () {
<del> var base = '/';
<ide> var initialTitle = document.title;
<ide>
<ide> $(Z).on('Z:publicationchange', function (ev, publication) {
<ide>
<ide> // Check if document was loaded with a path
<ide> $(Z).on('Z:ready', function (ev, publications) {
<del> var init... | |
Java | apache-2.0 | 8b2365baba9007d66526beae0431ad3c0d9884f0 | 0 | mojohaus/cassandra-maven-plugin | package org.codehaus.mojo.cassandra;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.cassandra.config.ConfigurationException;
import or... | src/main/java/org/codehaus/mojo/cassandra/CqlExecCassandraMojo.java | package org.codehaus.mojo.cassandra;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.cassandra.config.ConfigurationException;
import or... | updated class level comment
git-svn-id: 3c5bcc91f03ddbd5081d7a010ad2cafa7df6e15e@14706 52ab4f32-60fc-0310-b215-8acea882cd1b
| src/main/java/org/codehaus/mojo/cassandra/CqlExecCassandraMojo.java | updated class level comment | <ide><path>rc/main/java/org/codehaus/mojo/cassandra/CqlExecCassandraMojo.java
<ide> import org.apache.maven.plugin.MojoFailureException;
<ide>
<ide> /**
<del> * Loads a {@code cassandra-cli} bscript into a Cassandra instance.
<add> * Executes cql statements from maven.
<ide> *
<ide> * @author zznate
<ide> * @goal c... | |
JavaScript | mit | 80071b76829d9df02335c69cb6e303e12063dd50 | 0 | hezedu/express-jade-compiled | var fs = require('fs');
var path = require('path');
var jade = require('jade');
var uglify = require("uglify-js");
var etag = require('etag');
function server(tpl_path, opts) {
if (!tpl_path) {
//默认目录
tpl_path = path.join(process.cwd(), 'jade_compiled');
}
opts = opts || {};
opts.tpl_path = tpl_path;... | index.js | var fs = require('fs');
var path = require('path');
var jade = require('jade');
var uglify = require("uglify-js");
var etag = require('etag');
function server(tpl_path, opts) {
if (!tpl_path) {
//默认目录
tpl_path = path.join(process.cwd(), 'jade_compiled');
}
opts = opts || {};
opts.tpl_path = tpl_path;... | multiple
| index.js | multiple | <ide><path>ndex.js
<ide>
<ide> return function(req, res, next) {
<ide>
<add> var multiple = req.query.multiple;
<ide> var real_path = path.join(tpl_path, req.path);
<del> var cache_key = real_path + ':client';
<add>
<add> var cache_key = '';
<add> if(multiple){
<add> cache_key = real_path + ':m... | |
Java | apache-2.0 | f8c0051e66daa7466bdf0c80f2454a32b73cf5e8 | 0 | uweschaefer/factcast,uweschaefer/factcast,uweschaefer/factcast | /*
* Copyright © 2018 Mercateo AG (http://www.mercateo.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.0
*
* Unless required by ... | factcast-client-grpc-cli/src/main/java/org/factcast/client/grpc/cli/util/Parser.java | /*
* Copyright © 2018 Mercateo AG (http://www.mercateo.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.0
*
* Unless required by ... | print usage when cli options incomplete (#269)
closes #268 | factcast-client-grpc-cli/src/main/java/org/factcast/client/grpc/cli/util/Parser.java | print usage when cli options incomplete (#269) | <ide><path>actcast-client-grpc-cli/src/main/java/org/factcast/client/grpc/cli/util/Parser.java
<ide>
<ide> public Command parse(String[] args) {
<ide> jc.parse(args);
<del> if (options.help) {
<del> jc.usage();
<del> return null;
<add>
<add> JCommander parsedCommand = jc... | |
Java | apache-2.0 | 5e2d8377fea8b49e7fb5e5ebb6ac801ddaf96e95 | 0 | nonamejx/vmv2,nonamejx/vmv2 | package controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import model.bean.User;
import model.bo.UserBO;
import... | VMV2/src/controller/LoginServlet.java | package controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import model.bean.User;
import model.bo.UserBO;
import... | feature-fix_to_test-huyhm-171016
| VMV2/src/controller/LoginServlet.java | feature-fix_to_test-huyhm-171016 | <ide><path>MV2/src/controller/LoginServlet.java
<ide> int id = Integer.parseInt(idStr);
<ide> request.setAttribute("userRemember", userBO.getUserById(id));
<ide> } catch (NumberFormatException ex) {
<del> javax.servlet.RequestDispatcher rd = request.getRequestDispatcher("/user/login.jsp");
<del> r... | |
Java | bsd-3-clause | e8a1dd31b471451de35949dec992140fb19f443f | 0 | vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vedit.beans;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class FormObject implements Serializable {
private HashMap<String, St... | webapp/src/edu/cornell/mannlib/vedit/beans/FormObject.java | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vedit.beans;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import edu.cornell.mannlib.vedit.beans.Option;
public class FormObject implements Serializable {
pri... | NIHVIVO-1385 Add toString() method to help in debugging. As long as we are here, use proper generics.
| webapp/src/edu/cornell/mannlib/vedit/beans/FormObject.java | NIHVIVO-1385 Add toString() method to help in debugging. As long as we are here, use proper generics. | <ide><path>ebapp/src/edu/cornell/mannlib/vedit/beans/FormObject.java
<ide> package edu.cornell.mannlib.vedit.beans;
<ide>
<ide> import java.io.Serializable;
<add>import java.util.ArrayList;
<ide> import java.util.HashMap;
<ide> import java.util.List;
<del>import edu.cornell.mannlib.vedit.beans.Option;
<ide>
<ide> pub... | |
Java | lgpl-2.1 | cd120969aecf1265f89a51840fa776c871b80bd4 | 0 | sbonoc/opencms-core,victos/opencms-core,mediaworx/opencms-core,sbonoc/opencms-core,MenZil/opencms-core,alkacon/opencms-core,victos/opencms-core,it-tavis/opencms-core,it-tavis/opencms-core,gallardo/opencms-core,MenZil/opencms-core,ggiudetti/opencms-core,alkacon/opencms-core,gallardo/opencms-core,mediaworx/opencms-core,i... | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | src/org/opencms/main/OpenCmsCore.java | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | Correct issues if the requested URL is null. | src/org/opencms/main/OpenCmsCore.java | Correct issues if the requested URL is null. | <ide><path>rc/org/opencms/main/OpenCmsCore.java
<ide> try {
<ide> secureUrl = site.getSecureUrl();
<ide> } catch (Exception e) {
<del> LOG.error(
<del> Messages.get().getBundle().key(Messages.ERR_SECURE_SIT... | |
Java | apache-2.0 | 8b065f39d6bcf18ee441cb975505a7fce62add32 | 0 | dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android | package org.commcare.dalvik.utils;
import android.annotation.SuppressLint;
import android.content.ContentUris;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.provider.DocumentsContract;
import android.provid... | app/src/org/commcare/dalvik/utils/UriToFilePath.java | package org.commcare.dalvik.utils;
import android.annotation.SuppressLint;
import android.content.ContentUris;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.provider.DocumentsContract;
import android.provid... | comments
| app/src/org/commcare/dalvik/utils/UriToFilePath.java | comments | <ide><path>pp/src/org/commcare/dalvik/utils/UriToFilePath.java
<ide> *
<ide> * Taken from aFileChooser by Paul Burke (paulburke.co)
<ide> * https://github.com/iPaulPro/aFileChooser
<del> * Which is under Apache 2.0 license
<add> * Under the Apache 2.0 license
<ide> */
<ide> public class UriToFilePath {
<ide> /*... | |
Java | apache-2.0 | efd0f0b457a1ff7f1ce498289227e25cbdd6680b | 0 | boundary/boundary-event-sdk,boundary/boundary-event-sdk,boundary/boundary-event-sdk,boundary/boundary-event-sdk,boundary/boundary-event-sdk,boundary/boundary-event-sdk,boundary/boundary-event-sdk | package com.boundary.sdk.event.service;
import org.apache.camel.Exchange;
import org.apache.camel.Message;
import com.boundary.camel.component.ping.PingConfiguration;
import com.boundary.camel.component.port.PortConfiguration;
import com.boundary.camel.component.ssh.SshxConfiguration;
import static com.boundary.sdk.... | src/main/java/com/boundary/sdk/event/service/ExtractServiceTestConfiguration.java | package com.boundary.sdk.event.service;
import org.apache.camel.Exchange;
import org.apache.camel.Message;
import com.boundary.camel.component.ping.PingConfiguration;
import com.boundary.camel.component.port.PortConfiguration;
import static com.boundary.sdk.event.service.ServiceCheckPropertyNames.*;
public class Ex... | Add extraction of SSH configuration
Former-commit-id: bb649e2ef87277739d1fba3c01ba02ee35c40238 | src/main/java/com/boundary/sdk/event/service/ExtractServiceTestConfiguration.java | Add extraction of SSH configuration | <ide><path>rc/main/java/com/boundary/sdk/event/service/ExtractServiceTestConfiguration.java
<ide>
<ide> import com.boundary.camel.component.ping.PingConfiguration;
<ide> import com.boundary.camel.component.port.PortConfiguration;
<add>import com.boundary.camel.component.ssh.SshxConfiguration;
<ide>
<ide> import stati... | |
Java | apache-2.0 | 7229f1fa71760320758dc4a4274f48ecc2ab01fc | 0 | mamewotoko/podplayer,mamewotoko/podplayer,mamewotoko/podplayer | package com.mamewo.podplayer0;
import java.io.IOException;
import java.util.List;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log... | src/com/mamewo/podplayer0/PlayerService.java | package com.mamewo.podplayer0;
import java.io.IOException;
import java.util.List;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log... | modify notification method | src/com/mamewo/podplayer0/PlayerService.java | modify notification method | <ide><path>rc/com/mamewo/podplayer0/PlayerService.java
<ide> catch (IOException e) {
<ide> return false;
<ide> }
<del> startForeground();
<add> //TODO: localize
<add> startForeground("Playing podcast", info.title_);
<ide> return true;
<ide> }
<ide>
<del> public void startForeground() {
<add> public void s... | |
Java | apache-2.0 | aba3042a6482e751fc7f0c54180809b99596f29c | 0 | mikeb01/Aeron,real-logic/Aeron,real-logic/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,EvilMcJerkface/Aeron,EvilMcJerkface/Aeron,galderz/Aeron,galderz/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,mikeb01/Aeron,mikeb01/Aeron,galderz/Aeron,mikeb01/Aeron,galderz/Aeron | /*
* Copyright 2014-2019 Real Logic Ltd.
*
* 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 agree... | aeron-cluster/src/main/java/io/aeron/cluster/ConsensusModuleAgent.java | /*
* Copyright 2014-2019 Real Logic Ltd.
*
* 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 agree... | [Java] Code formatting.
| aeron-cluster/src/main/java/io/aeron/cluster/ConsensusModuleAgent.java | [Java] Code formatting. | <ide><path>eron-cluster/src/main/java/io/aeron/cluster/ConsensusModuleAgent.java
<ide>
<ide> private void cancelMissedTimers()
<ide> {
<del> final LongHashSet.LongIterator timerIdIterator = missedTimersSet.iterator();
<del> while (timerIdIterator.hasNext())
<del> {
<del> final l... | |
Java | lgpl-2.1 | ab5b95a6c9503346c5611e64aa4066cd798895d3 | 0 | pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/web/XWikiServletURLFactoryTest.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | XWIKI-13557: Wrong encoding when creating URLs
* Update test
| xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/web/XWikiServletURLFactoryTest.java | XWIKI-13557: Wrong encoding when creating URLs * Update test | <ide><path>wiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/web/XWikiServletURLFactoryTest.java
<ide> // Note: The query string is not encoded, and used as is. It's the responsibility of the caller to
<ide> // url-encode it.
<ide> // See XWikiServletURLFactory#encodeWithinPa... | |
Java | epl-1.0 | 2e3f81c9e8684fe1eb29e91574a18cd8ebb1d5a0 | 0 | opendaylight/yangtools,opendaylight/yangtools | /*
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/ValueWithQName.java | /*
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | Remove ValueWithQName.getQname()
This is mispelled method, remove it as we have a direct replacement.
Change-Id: I987b7bc056819d199a6963e131bd5f527d416345
Signed-off-by: Robert Varga <91ae5aa8c7a9f7e57b701db766e23e544aaa6ae9@pantheon.tech>
| yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/ValueWithQName.java | Remove ValueWithQName.getQname() | <ide><path>ang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/ValueWithQName.java
<ide> */
<ide> package org.opendaylight.yangtools.yang.data.impl.codec;
<ide>
<del>import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
<ide> import java.util.AbstractMap.SimpleImmutableEntry;
<ide> i... | |
Java | apache-2.0 | e47512e4b3cd8ea7fb242d8372e23de651cf0fb8 | 0 | cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x | /*
* Copyright 2002-2005 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... | src/org/springframework/web/servlet/mvc/CancellableFormController.java | /*
* Copyright 2002-2005 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... | added further @author tag
git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@7784 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
| src/org/springframework/web/servlet/mvc/CancellableFormController.java | added further @author tag | <ide><path>rc/org/springframework/web/servlet/mvc/CancellableFormController.java
<ide> *
<ide> * @author Rob Harrop
<ide> * @author Juergen Hoeller
<add> * @author Erwin Bolwidt
<ide> * @since 1.2.3
<del> * @see #setCancelParamKey(String)
<del> * @see #setCancelView(String)
<add> * @see #setCancelParamKey
<add> * @... | |
JavaScript | mit | a1f13cdf443ce2bb58cf41798fee549223bca46f | 0 | absolunet/kafe,absolunet/kafe | /* @echo header */
var Local = {};
Local.getPlaceholders = function(){
var $placeholders = $('[data-sitecore-placeholder]');
var _output = [];
$placeholders.each(function(i,v){
var _ph = {};
_ph.$element = $(this);
_ph.name = _ph.$element.data('sitecore-placeholder');
_ph.label = !!_ph.$element.d... | src/kafe/cms/sitecore.js | /* @echo header */
var
_privateFunction = function () {
}
;
/**
* ### Version <!-- @echo VERSION -->
* Additionnal methods for Sitecore
*
* @module <!-- @echo MODULE -->
* @class <!-- @echo NAME_FULL -->
*/
var sitecore = {};
sitecore.publicFunction = function() {
};
return sitecore;
/* @echo... | Module de boite à outils pour le page-editor de Sitecore
| src/kafe/cms/sitecore.js | Module de boite à outils pour le page-editor de Sitecore | <ide><path>rc/kafe/cms/sitecore.js
<ide> /* @echo header */
<ide>
<del> var
<del> _privateFunction = function () {
<add> var Local = {};
<ide>
<del> }
<del> ;
<add> Local.getPlaceholders = function(){
<add> var $placeholders = $('[data-sitecore-placeholder]');
<add> var _output = [];
<ide>
<add> $placeholders.e... | |
Java | apache-2.0 | cc06b02e0c1f368fc4c8d780c8e718a578d06576 | 0 | typesafehub/config,typesafehub/config | package com.typesafe.config;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Allows an config property to be {@code null}.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Nullable {
}
| config/src/main/java/com/typesafe/config/Nullable.java | package com.typesafe.config;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Nullable {
}
| Add a Javadoc comment to the Nullable annotation class. | config/src/main/java/com/typesafe/config/Nullable.java | Add a Javadoc comment to the Nullable annotation class. | <ide><path>onfig/src/main/java/com/typesafe/config/Nullable.java
<ide> import java.lang.annotation.Retention;
<ide> import java.lang.annotation.RetentionPolicy;
<ide>
<add>/**
<add> * Allows an config property to be {@code null}.
<add> */
<ide> @Documented
<ide> @Retention(RetentionPolicy.RUNTIME)
<ide> public @interf... | |
JavaScript | mit | c2083af0905797c37a4fc7892ce795a56e2a453c | 0 | shanmugamss/three.js-modified,jpweeks/three.js,Aldrien-/three.js,googlecreativelab/three.js,colombod/three.js,jee7/three.js,RemusMar/three.js,Astrak/three.js,arodic/three.js,Ludobaka/three.js,mrdoob/three.js,pailhead/three.js,TristanVALCKE/three.js,Aldrien-/three.js,Amritesh/three.js,jeffgoku/three.js,daoshengmu/three.... | import { EventDispatcher } from './EventDispatcher';
import { Face3 } from './Face3';
import { Matrix3 } from '../math/Matrix3';
import { Sphere } from '../math/Sphere';
import { Box3 } from '../math/Box3';
import { Vector3 } from '../math/Vector3';
import { Matrix4 } from '../math/Matrix4';
import { Vector2 } from '..... | src/core/Geometry.js | import { EventDispatcher } from './EventDispatcher';
import { Face3 } from './Face3';
import { Matrix3 } from '../math/Matrix3';
import { Sphere } from '../math/Sphere';
import { Box3 } from '../math/Box3';
import { Vector3 } from '../math/Vector3';
import { Matrix4 } from '../math/Matrix4';
import { Vector2 } from '..... | Protect Geometry against the closure circular reference bug
| src/core/Geometry.js | Protect Geometry against the closure circular reference bug | <ide><path>rc/core/Geometry.js
<ide>
<ide> }
<ide>
<del>Geometry.prototype = {
<add>Object.assign( Geometry.prototype, EventDispatcher.prototype, {
<ide>
<ide> constructor: Geometry,
<ide>
<ide> }
<ide>
<ide> var normalMatrix,
<del> vertexOffset = this.vertices.length,
<del> vertices1 = this.vertices,
<del>... | |
JavaScript | apache-2.0 | cbaad2c94f4bb2a8dc036a03b4d81a19bee8e7cc | 0 | apache/shindig,apache/shindig,apache/shindig,apparentlymart/shindig,apache/shindig,apache/shindig,apparentlymart/shindig,apparentlymart/shindig,apparentlymart/shindig | /*
* 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 ma... | features/src/main/javascript/features/rpc/rpc.js | /*
* 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 ma... | No more falling back to IFPC (or other transport) given various failure conditions in initialization, setup, or calling of another transport. This makes the rpc lib much easier to debug while not removing anything that really ever had value.
Code review and other comments at:
http://codereview.appspot.com/91116
gi... | features/src/main/javascript/features/rpc/rpc.js | No more falling back to IFPC (or other transport) given various failure conditions in initialization, setup, or calling of another transport. This makes the rpc lib much easier to debug while not removing anything that really ever had value. | <ide><path>eatures/src/main/javascript/features/rpc/rpc.js
<ide>
<ide> // isGadget =~ isChild for the purposes of rpc (used only in setup).
<ide> var isGadget = (window.top !== window.self);
<del> var fallbackTransport = gadgets.rpctx.ifpc;
<add>
<add> // Fallback transport is simply a dummy impl that emits no e... | |
Java | apache-2.0 | ded7472467f2babb1a1291afeada5887fd052fd2 | 0 | senseobservationsystems/sense-android-library,senseobservationsystems/sense-android-library | /**************************************************************************************************
* Copyright (C) 2010 Sense Observation Systems, Rotterdam, the Netherlands. All rights reserved. *
*************************************************************************************************/
package nl.sense_os.... | sense-android-library/src/nl/sense_os/service/commonsense/SenseApi.java | /**************************************************************************************************
* Copyright (C) 2010 Sense Observation Systems, Rotterdam, the Netherlands. All rights reserved. *
*************************************************************************************************/
package nl.sense_os.... | Changed log levels to prevent confusion about errors being logged when a
sensor ID was not found. (see issue #54) | sense-android-library/src/nl/sense_os/service/commonsense/SenseApi.java | Changed log levels to prevent confusion about errors being logged when a sensor ID was not found. (see issue #54) | <ide><path>ense-android-library/src/nl/sense_os/service/commonsense/SenseApi.java
<ide>
<ide> } catch (Exception e) {
<ide> // unlikely to ever happen. Just get the list from CommonSense instead
<del> Log.e(TAG, "Failed to get list of sensors from cache!", e);
<add> Log.w(TAG,... | |
JavaScript | mit | fae4504793d87a84853fcd9c8619a1c29a09d7a8 | 0 | lukasbestle/newdb,louischatriot/nedb,louischatriot/nedb,louischatriot/nedb,lukasbestle/newdb,lukasbestle/newdb | var should = require('chai').should()
, assert = require('chai').assert
, testDb = 'workspace/test.db'
, fs = require('fs')
, path = require('path')
, _ = require('underscore')
, async = require('async')
, model = require('../lib/model')
, Datastore = require('../lib/datastore')
, Persistence = requir... | test/cursor.test.js | var should = require('chai').should()
, assert = require('chai').assert
, testDb = 'workspace/test.db'
, fs = require('fs')
, path = require('path')
, _ = require('underscore')
, async = require('async')
, model = require('../lib/model')
, Datastore = require('../lib/datastore')
, Persistence = requir... | Can use omit projections on nested documents
| test/cursor.test.js | Can use omit projections on nested documents | <ide><path>est/cursor.test.js
<ide> doc0 = _doc0;
<ide> d.insert({ age: 57, name: 'Louis', planet: 'R', toys: { ballon: 'yeah', bebe: false } }, function (err, _doc1) {
<ide> doc1 = _doc1;
<del> d.insert({ age: 52, name: 'Grafitti', planet: 'C' }, function (err, _doc2) {
<add> ... | |
Java | apache-2.0 | error: pathspec 'cdap-master/src/test/java/co/cask/cdap/data/tools/DatasetUpgraderTest.java' did not match any file(s) known to git
| 03bef1dc3babf0d877a1f16c948e58816bad34c9 | 1 | mpouttuclarke/cdap,caskdata/cdap,anthcp/cdap,hsaputra/cdap,hsaputra/cdap,anthcp/cdap,hsaputra/cdap,anthcp/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,caskdata/cdap,chtyim/cdap,caskdata/cdap,hsaputra/cdap,chtyim/cdap,chtyim/cdap,hsaputra/cdap,anthcp/cdap,caskdata/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,chtyim/cdap,ant... | /*
* Copyright © 2015 Cask Data, 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 t... | cdap-master/src/test/java/co/cask/cdap/data/tools/DatasetUpgraderTest.java | add test case that was left out by previous commit
| cdap-master/src/test/java/co/cask/cdap/data/tools/DatasetUpgraderTest.java | add test case that was left out by previous commit | <ide><path>dap-master/src/test/java/co/cask/cdap/data/tools/DatasetUpgraderTest.java
<add>/*
<add> * Copyright © 2015 Cask Data, Inc.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License"); you may not
<add> * use this file except in compliance with the License. You may obtain a copy of
<add> * ... | |
Java | apache-2.0 | 9f680f1626ead9381ad1e6d9c0b5d094ca7f7178 | 0 | robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,... | /*
* Copyright 2010 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... | subprojects/messaging/src/main/java/org/gradle/messaging/remote/internal/inet/TcpOutgoingConnector.java | /*
* Copyright 2010 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... | Fix review items
+review REVIEW-5610
| subprojects/messaging/src/main/java/org/gradle/messaging/remote/internal/inet/TcpOutgoingConnector.java | Fix review items | <ide><path>ubprojects/messaging/src/main/java/org/gradle/messaging/remote/internal/inet/TcpOutgoingConnector.java
<ide> private SocketChannel tryConnect(InetEndpoint address, InetAddress candidate) throws IOException {
<ide> for (int i=0; i< MAXIMUM_RETRIES; i++) {
<ide> SocketChannel socketChan... | |
Java | agpl-3.0 | c9c91f9fca59f2fc11a614a7a69dcb75ba7bc988 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | ef49130c-2e60-11e5-9284-b827eb9e62be | hello.java | ef2d5f18-2e60-11e5-9284-b827eb9e62be | ef49130c-2e60-11e5-9284-b827eb9e62be | hello.java | ef49130c-2e60-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>ef2d5f18-2e60-11e5-9284-b827eb9e62be
<add>ef49130c-2e60-11e5-9284-b827eb9e62be | |
JavaScript | mit | f9550f872058dc8ef747b57b00e30f0b7d314798 | 0 | blueimp/jQuery-File-Upload,blueimp/jQuery-File-Upload,blueimp/jQuery-File-Upload,blueimp/jQuery-File-Upload,blueimp/jQuery-File-Upload,blueimp/jQuery-File-Upload | /*
* jQuery File Upload Image Preview & Resize Plugin
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
/* global define, require */
(function (factory) {
'use strict';
if... | js/jquery.fileupload-image.js | /*
* jQuery File Upload Image Preview & Resize Plugin
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
/* global define, require */
(function (factory) {
'use strict';
if... | Save updated Exif Orientation data in image file.
| js/jquery.fileupload-image.js | Save updated Exif Orientation data in image file. | <ide><path>s/jquery.fileupload-image.js
<ide> imageMaxHeight: 1080,
<ide> // Defines the image orientation (1-8) or takes the orientation
<ide> // value from Exif data if set to true:
<del> imageOrientation: false,
<add> imageOrientation: true,
<ide> // Define if resized images should ... | |
Java | bsd-2-clause | 7c5fd18b01d9d157928c2588151c19307c76e5d7 | 0 | rinfo/rdl,rinfo/rdl,rinfo/rdl,rinfo/rdl,rinfo/rdl,rinfo/rdl | package se.lagrummet.rinfo.collector;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.uti... | packages/java/rinfo-collector/src/main/java/se/lagrummet/rinfo/collector/AbstractCollectScheduler.java | package se.lagrummet.rinfo.collector;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.uti... | AbstractCollectScheduler now sets default timeUnit.
git-svn-id: 35b8e6ee5634bb8613abb5ca40977defa3069cb2@671 f32dfbcc-ef79-4080-89f5-1451246e9e1e
| packages/java/rinfo-collector/src/main/java/se/lagrummet/rinfo/collector/AbstractCollectScheduler.java | AbstractCollectScheduler now sets default timeUnit. | <ide><path>ackages/java/rinfo-collector/src/main/java/se/lagrummet/rinfo/collector/AbstractCollectScheduler.java
<ide>
<ide> private int initialDelay = DEFAULT_INITIAL_DELAY;
<ide> private int scheduleInterval = DEFAULT_SCHEDULE_INTERVAL;
<del> private TimeUnit timeUnit;
<add> private TimeUnit timeUnit =... | |
Java | apache-2.0 | 1b6e8d654165ab058a30bb4209377d2763de4522 | 0 | tbrooks8/Aeron,tbrooks8/Aeron,jerrinot/Aeron,qed-/Aeron,rlankenau/Aeron,mikeb01/Aeron,qed-/Aeron,RussellWilby/Aeron,real-logic/Aeron,jessefugitt/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,galderz/Aeron,jessefugitt/Aeron,UIKit0/Aeron,oleksiyp/Aeron,tbrooks8/Aeron,buybackoff/Aeron,EvilMcJerkface/Aeron,jerrinot/Aeron,joh... | /*
* Copyright 2014 Real Logic Ltd.
*
* 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 ... | aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverPublication.java | /*
* Copyright 2014 Real Logic Ltd.
*
* 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 ... | [Java] DRY by using existing method.
| aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverPublication.java | [Java] DRY by using existing method. | <ide><path>eron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverPublication.java
<ide> updateTimeOfLastSendOrHeartbeat(timerWheel.now());
<ide>
<ide> nextTermOffset = align(offset + length, FrameDescriptor.FRAME_ALIGNMENT);
<del>
<del> nextOffsetPosition =
<del> ... | |
Java | agpl-3.0 | 9e029536540e81d4d0b1854515889ab5c49c4903 | 0 | UniversityOfHawaii/kfs,ua-eas/kfs-devops-automation-fork,kuali/kfs,smith750/kfs,kuali/kfs,quikkian-ua-devops/will-financials,ua-eas/kfs-devops-automation-fork,kkronenb/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,kuali/kfs,kkronenb/kfs,quikkian-ua-devops/kfs,kkronenb/kfs,smith750... | /*
* Copyright 2006-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.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/ecl1.php
*
* Unless r... | work/src/org/kuali/kfs/module/purap/document/web/struts/PurchaseOrderAction.java | /*
* Copyright 2006-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.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/ecl1.php
*
* Unless r... | KULPURAP-3282
| work/src/org/kuali/kfs/module/purap/document/web/struts/PurchaseOrderAction.java | KULPURAP-3282 | <ide><path>ork/src/org/kuali/kfs/module/purap/document/web/struts/PurchaseOrderAction.java
<ide> import org.kuali.kfs.sys.KFSConstants;
<ide> import org.kuali.kfs.sys.KFSPropertyConstants;
<ide> import org.kuali.kfs.sys.context.SpringContext;
<add>import org.kuali.kfs.vnd.VendorConstants.AddressTypes;
<add>import org.k... | |
Java | apache-2.0 | e6d3a7462cb21041f57bdd09713ceeadb233b0c3 | 0 | rzel/kanzi,sharkkid/kanzi,rukistar/kanzi,rzel/kanzi,rukistar/kanzi,sharkkid/kanzi,Sputuks3/kanzi,rzel/kanzi,Sputuks3/kanzi,rukistar/kanzi,sharkkid/kanzi,Sputuks3/kanzi | /*
Copyright 2011-2013 Frederic Langlet
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 ... | java/src/kanzi/filter/seam/ContextResizer.java | /*
Copyright 2011-2013 Frederic Langlet
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 ... | Minor change: add a parameter to one of the constructors
| java/src/kanzi/filter/seam/ContextResizer.java | Minor change: add a parameter to one of the constructors | <ide><path>ava/src/kanzi/filter/seam/ContextResizer.java
<ide> }
<ide>
<ide>
<del> public ContextResizer(int width, int height, int stride, int direction, int action)
<del> {
<del> this(width, height, stride, direction, action, 1, false, false, null);
<add> public ContextResizer(int width, int hei... | |
JavaScript | apache-2.0 | ecbf783b5a5698537f851e046f7b6caba702495e | 0 | codeaudit/dig,NextCenturyCorporation/dig,codeaudit/dig,NextCenturyCorporation/dig,codeaudit/dig,codeaudit/dig,NextCenturyCorporation/dig,NextCenturyCorporation/dig,codeaudit/dig,NextCenturyCorporation/dig | 'use strict';
angular.module('digApp')
.service('imageSearchService', ['$http', 'simHost', function ($http, simHost) {
var service = {};
var imageSearchResults = [];
var activeImageSearch = null;
service.imageSearch = function(imgUrl) {
imageSearchResults[imgUrl] = {
url: imgUrl,... | client/app/imageSearchService/imageSearchService.service.js | 'use strict';
angular.module('digApp')
.service('imageSearchService', ['$http', 'isiHost', function ($http, simHost) {
var service = {};
var imageSearchResults = [];
var activeImageSearch = null;
service.imageSearch = function(imgUrl) {
imageSearchResults[imgUrl] = {
url: imgUrl,... | Correcting a typo in an injected constant.
| client/app/imageSearchService/imageSearchService.service.js | Correcting a typo in an injected constant. | <ide><path>lient/app/imageSearchService/imageSearchService.service.js
<ide> 'use strict';
<ide>
<ide> angular.module('digApp')
<del> .service('imageSearchService', ['$http', 'isiHost', function ($http, simHost) {
<add> .service('imageSearchService', ['$http', 'simHost', function ($http, simHost) {
<ide> var serv... | |
Java | apache-2.0 | ebfba0b6fade315820992e771dbdc95f495a5e8e | 0 | apache/hadoop,apache/hadoop,JingchengDu/hadoop,wwjiang007/hadoop,apache/hadoop,apurtell/hadoop,JingchengDu/hadoop,nandakumar131/hadoop,mapr/hadoop-common,JingchengDu/hadoop,mapr/hadoop-common,JingchengDu/hadoop,mapr/hadoop-common,apurtell/hadoop,wwjiang007/hadoop,wwjiang007/hadoop,apurtell/hadoop,nandakumar131/hadoop,n... | /*
* 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 ... | hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/magic/MagicCommitTracker.java | /*
* 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 ... | [HADOOP-17567] typo in MagicCommitTracker (#2749)
Contributed by Pierrick Hymbert | hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/magic/MagicCommitTracker.java | [HADOOP-17567] typo in MagicCommitTracker (#2749) | <ide><path>adoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/magic/MagicCommitTracker.java
<ide> new IOStatisticsSnapshot(iostatistics));
<ide> byte[] bytes = commitData.toBytes();
<ide> LOG.info("Uncommitted data pending to file {};"
<del> + " commit metadata for {} parts ... | |
Java | mit | fa68727f277ca93a216e83328e2359205f379c3f | 0 | isacarnekvist/Tron | package game;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.ejml.simple.SimpleMatrix;
import org.newdawn.slick.opengl.Texture;
import org.newdawn.slick.opengl.TextureLoader;
import static org.lwjgl.opengl.GL11.*;
public class Sprite ... | src/game/Sprite.java | package game;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.ejml.simple.SimpleMatrix;
import org.newdawn.slick.opengl.Texture;
import org.newdawn.slick.opengl.TextureLoader;
import static org.lwjgl.opengl.GL11.*;
public class Sprite ... | some utility methods
| src/game/Sprite.java | some utility methods | <ide><path>rc/game/Sprite.java
<ide> public SimpleMatrix getFrontRight() {
<ide> return lr;
<ide> }
<add>
<add> public SimpleMatrix getBackLeft() {
<add> return ul;
<add> }
<add>
<add> public SimpleMatrix getBackRight() {
<add> return ll;
<add> }
<ide> } | |
Java | apache-2.0 | 16f22c9b91b8edd11607d166bafdb7a9bda24fb1 | 0 | DamonHD/reutils | /*
Copyright (c) 2008-2021, Damon Hart-Davis
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and th... | test/localtest/TestTwitter.java | /*
Copyright (c) 2008-2021, Damon Hart-Davis
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and th... | Checking that template is being applied... | test/localtest/TestTwitter.java | Checking that template is being applied... | <ide><path>est/localtest/TestTwitter.java
<ide> assertFalse("Generated Tweet must not be empty", message.trim().isEmpty());
<ide> assertTrue("Generated Tweet must not be over-long: was "+message.length()+" vs max "+TwitterUtils.MAX_TWEET_CHARS+" message: "+message,
<ide> ... | |
JavaScript | mit | 6602bd19a8dc6335a160333913d11af598eaaf25 | 0 | nickm01/packhack,nickm01/packhack | const twilio = require('twilio')
const textProcessor = require('./textprocessor')
const logger = require('winston')
const commandTypes = require('./commandtypes')
const logs = require('../model/logs')
const smsProcessor = require('./smsprocessor')
const config = require('../config')
const route = (request, response) =... | src/twilio.route.js | const twilio = require('twilio')
const textProcessor = require('./textprocessor')
const logger = require('winston')
const commandTypes = require('./commandtypes')
const logs = require('../model/logs')
const smsProcessor = require('./smsprocessor')
const config = require('../config')
const route = (request, response) =... | additional logging
| src/twilio.route.js | additional logging | <ide><path>rc/twilio.route.js
<ide> if (config.smsLoggingPhoneNumber) {
<ide> logger.log('info', '___twilio.route_smsLoggingNo2')
<ide> console.log('hello1')
<add> console.log(data)
<ide> const sendText = 'LOG:' + data.familyId + ',' + data.fromPerson + ': ' + data.originalText + ' > ' + data.responseT... | |
JavaScript | mit | 04adf9ba918dcbb3b53d715794c42591cbb9930b | 0 | evansoderberg/react-joyride,evansoderberg/react-joyride | var React = require('react/addons'),
scroll = require('scroll'),
Beacon = require('./Beacon'),
Tooltip = require('./Tooltip');
var joyride = {
browser: undefined,
initialized: false,
mixin: false,
steps: [],
getBrowser: function () {
// Return cached result if avalible, els... | lib/scripts/Mixin.js | var React = require('react/addons'),
scroll = require('scroll'),
Beacon = require('./Beacon'),
Tooltip = require('./Tooltip');
var joyride = {
browser: undefined,
initialized: false,
mixin: false,
steps: [],
getBrowser: function () {
// Return cached result if avalible, els... | rename mixin shared functions
| lib/scripts/Mixin.js | rename mixin shared functions | <ide><path>ib/scripts/Mixin.js
<ide> document.body.appendChild(this._target);
<ide>
<ide> if (state.joyridePlay && joyride.steps[state.joyrideCurrentIndex]) {
<del> this._renderLayer();
<add> this.joyrideRenderLayer();
<ide> }
<ide>
<ide> joyride.mixin = this;
<id... | |
Java | apache-2.0 | 0cab1dba8aa443fef58757ca5bd5ee6943802058 | 0 | petrandreev/arquillian-extension-warp,arquillian/arquillian-extension-warp,arquillian/arquillian-extension-warp,CSchulz/arquillian-extension-warp,CSchulz/arquillian-extension-warp | /**
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... | extension/jsf-ftest/src/test/java/org/jboss/arquillian/warp/jsf/ftest/producer/TestJSFResourceNotFound.java | /**
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... | fix TestJSFResourceNotFound test on wildfly
| extension/jsf-ftest/src/test/java/org/jboss/arquillian/warp/jsf/ftest/producer/TestJSFResourceNotFound.java | fix TestJSFResourceNotFound test on wildfly | <ide><path>xtension/jsf-ftest/src/test/java/org/jboss/arquillian/warp/jsf/ftest/producer/TestJSFResourceNotFound.java
<ide> */
<ide> package org.jboss.arquillian.warp.jsf.ftest.producer;
<ide>
<del>import static org.junit.Assert.fail;
<del>
<ide> import java.io.FileNotFoundException;
<add>import java.io.IOException;
... | |
Java | mit | 1ade3135c8b645da577864937f0dfbac7838cc31 | 0 | unparalleled/kcards | package com.mrkevinthomas.kcards;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.support.v4.view.ViewPager;
import android.view.View;
import com.mrkevinthomas.kcards.models.Deck;
import java.util.Locale;
public class CardViewActivity extends BaseActivity {
private static final... | app/src/main/java/com/mrkevinthomas/kcards/CardViewActivity.java | package com.mrkevinthomas.kcards;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.support.v4.view.ViewPager;
import android.view.View;
import com.mrkevinthomas.kcards.models.Deck;
import java.util.Locale;
public class CardViewActivity extends BaseActivity {
private static final... | set action bar title and subtitle in card viewer activity
| app/src/main/java/com/mrkevinthomas/kcards/CardViewActivity.java | set action bar title and subtitle in card viewer activity | <ide><path>pp/src/main/java/com/mrkevinthomas/kcards/CardViewActivity.java
<ide> deck = getIntent().getParcelableExtra(ARG_DECK);
<ide> position = getIntent().getIntExtra(ARG_POSITION, 0);
<ide>
<add> getSupportActionBar().setTitle(deck.getName());
<add> getSupportActionBar().setSubtitle(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.