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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | apache-2.0 | ccbd0342e6fcc543d80bf224c4d1be5395d5af8f | 0 | JeffreySu/WxOpen,JeffreySu/WxOpen | //index.js
//获取应用实例
var app = getApp()
Page({
data: {
motto: 'Senparc.Weixin SDK Demo',
userInfo: {}
},
//事件处理函数
bindViewTap: function() {
wx.navigateTo({
url: '../logs/logs'
})
},
bindWebsocketTap: function(){
wx.navigateTo({
url: '../websocket/websocket'
})
},
//处... | src/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js | //index.js
//获取应用实例
var app = getApp()
Page({
data: {
motto: 'Senparc.Weixin SDK Demo',
userInfo: {}
},
//事件处理函数
bindViewTap: function() {
wx.navigateTo({
url: '../logs/logs'
})
},
bindWebsocketTap: function(){
wx.navigateTo({
url: '../websocket/websocket'
})
},
//处... | modify
| src/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js | modify | <ide><path>rc/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js
<ide> formTemplateMessageSubmit:function(e)
<ide> {
<ide> var submitData = JSON.stringify({
<del> sessionId:wx.getStorageSync("sessionId"),//选填,不需要可输入''
<del> formId:e.detail.formId//选填formId用于发送模板消息,不需要可输入''
<add> se... | |
Java | bsd-3-clause | da6f523bf78ca4953971227dd8d9d2c3dc6539e9 | 0 | atlassian/jira-suite-utilities,atlassian/jira-suite-utilities | package com.googlecode.jsu.util;
import com.atlassian.crowd.embedded.api.CrowdService;
import com.atlassian.crowd.embedded.api.Group;
import com.atlassian.crowd.embedded.api.User;
import com.atlassian.jira.ComponentManager;
import com.atlassian.jira.bc.project.component.ProjectComponent;
import com.atlassian.jira.bc.p... | src/main/java/com/googlecode/jsu/util/WorkflowUtils.java | package com.googlecode.jsu.util;
import com.atlassian.crowd.embedded.api.CrowdService;
import com.atlassian.crowd.embedded.api.Group;
import com.atlassian.crowd.embedded.api.User;
import com.atlassian.jira.ComponentManager;
import com.atlassian.jira.bc.project.component.ProjectComponent;
import com.atlassian.jira.bc.p... | Corrected typo in debug message
| src/main/java/com/googlecode/jsu/util/WorkflowUtils.java | Corrected typo in debug message | <ide><path>rc/main/java/com/googlecode/jsu/util/WorkflowUtils.java
<ide> log.debug(
<ide> "Issue [" +
<ide> issue +
<del> "] got modfied fields - [" +
<add> "] got modified fields - [" +
<ide> ... | |
Java | lgpl-2.1 | 966e58e025288ff614bc2a67d95099c4ad5b3ad5 | 0 | languagetool-org/languagetool,jimregan/languagetool,jimregan/languagetool,jimregan/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,jimregan/languagetool,languagetool-org/languagetool,jimregan/languagetool,languagetool-org/languagetool | /* LanguageTool, a natural language style checker
* Copyright (C) 2012 Markus Brenneis
*
* 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 Software Foundation; either
* version 2.1 of the License, or (a... | languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/VerbAgreementRule.java | /* LanguageTool, a natural language style checker
* Copyright (C) 2012 Markus Brenneis
*
* 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 Software Foundation; either
* version 2.1 of the License, or (a... | [de] fix #1080
| languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/VerbAgreementRule.java | [de] fix #1080 | <ide><path>anguagetool-language-modules/de/src/main/java/org/languagetool/rules/de/VerbAgreementRule.java
<ide> new PatternTokenBuilder().posRegex("PRO:PER:NOM:.+").build(),
<ide> new PatternTokenBuilder().posRegex("VER:INF:.+").build(),
<ide> new PatternTokenBuilder().csToken("?").build()
<add> ),
<a... | |
Java | mpl-2.0 | 5d94d72e1cf74bf1bd02ed3d0b2df2b08df05102 | 0 | jembi/openhim-rapidsms-alerts-orchestrator,jembi/openhim-openempi-patient-adapter,jembi/openhim-encounter-orchestrator,jembi/openhim-legacy,jembi/openhim-resmap-facility-adapter,jembi/openhim-rapidsms-alerts-orchestrator,jembi/openhim-encounter-orchestrator,jembi/openhim-cr-shr-recon-adapter,jembi/openhim-openempi-pati... | package org.jembi.rhea.transformers;
import org.jembi.rhea.RestfulHttpRequest;
import org.mule.api.MuleMessage;
import org.mule.api.transformer.TransformerException;
import org.mule.transformer.AbstractMessageTransformer;
public class GetPatientOpenEMPIOffRampTransformer extends AbstractMessageTransformer {
@Overri... | src/main/java/org/jembi/rhea/transformers/GetPatientOpenEMPIOffRampTransformer.java | package org.jembi.rhea.transformers;
import org.jembi.rhea.RestfulHttpRequest;
import org.mule.api.MuleMessage;
import org.mule.api.transformer.TransformerException;
import org.mule.transformer.AbstractMessageTransformer;
public class GetPatientOpenEMPIOffRampTransformer extends AbstractMessageTransformer {
@Overri... | Removed testing code
| src/main/java/org/jembi/rhea/transformers/GetPatientOpenEMPIOffRampTransformer.java | Removed testing code | <ide><path>rc/main/java/org/jembi/rhea/transformers/GetPatientOpenEMPIOffRampTransformer.java
<ide> String id = id_str.substring(index + 1);
<ide> String domainId = idType;
<ide>
<del> //TODO remove TESTING code
<del> id = "7f3efef0-b6e0-11e1-a6f8-1231392d2383";
<del> idType = "hl7";
<del> domainId = "2.16.8... | |
Java | mit | 0f99a6c5caef480e6db58240c89a5296a8dc8a87 | 0 | lucko/LuckPerms | /*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | common/src/main/java/me/lucko/luckperms/common/storage/wrappings/PhasedStorage.java | /*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | Fix recursive proxying in PhasedStorage
ugh
| common/src/main/java/me/lucko/luckperms/common/storage/wrappings/PhasedStorage.java | Fix recursive proxying in PhasedStorage | <ide><path>ommon/src/main/java/me/lucko/luckperms/common/storage/wrappings/PhasedStorage.java
<ide> case "getName":
<ide> case "init":
<ide> case "getMeta":
<del> return method.invoke(proxy, args);
<add> ... | |
Java | lgpl-2.1 | 227fb4fd314a8593114ab005d14a3008eb017c50 | 0 | geotools/geotools,geotools/geotools,geotools/geotools,geotools/geotools | package org.geotools.renderer.lite;
import static java.awt.RenderingHints.KEY_ANTIALIASING;
import static java.awt.RenderingHints.VALUE_ANTIALIAS_ON;
import junit.framework.TestCase;
import org.geotools.data.property.PropertyDataStore;
import org.geotools.data.simple.SimpleFeatureSource;
import org.geotools.geometry.... | modules/library/render/src/test/java/org/geotools/renderer/lite/PartialsTest.java | package org.geotools.renderer.lite;
import static java.awt.RenderingHints.KEY_ANTIALIASING;
import static java.awt.RenderingHints.VALUE_ANTIALIAS_ON;
import junit.framework.TestCase;
import org.geotools.data.property.PropertyDataStore;
import org.geotools.data.simple.SimpleFeatureSource;
import org.geotools.geometry.... | Test at the starting point of label writing to avoid running into OSX font metrics differences.
| modules/library/render/src/test/java/org/geotools/renderer/lite/PartialsTest.java | Test at the starting point of label writing to avoid running into OSX font metrics differences. | <ide><path>odules/library/render/src/test/java/org/geotools/renderer/lite/PartialsTest.java
<ide>
<ide> import static java.awt.RenderingHints.KEY_ANTIALIASING;
<ide> import static java.awt.RenderingHints.VALUE_ANTIALIAS_ON;
<del>
<ide> import junit.framework.TestCase;
<add>
<ide> import org.geotools.data.property.Prop... | |
Java | apache-2.0 | 0a311340be963b9553778495e753f5e43721bb43 | 0 | igorakkerman/jlib | /*
* jlib - Open Source Java Library
*
* www.jlib.org
*
*
* Copyright 2005-2015 Igor Akkerman
*
* 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:... | jlib-basefunctions-apachecommons/src/test/java/org/jlib/basefunctions/apachecommons/tostring/IdentifierOrClassNameToStringStyleSupplierTest.java | /*
* jlib - Open Source Java Library
*
* www.jlib.org
*
*
* Copyright 2005-2015 Igor Akkerman
*
* 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:... | Text formatting fixed
| jlib-basefunctions-apachecommons/src/test/java/org/jlib/basefunctions/apachecommons/tostring/IdentifierOrClassNameToStringStyleSupplierTest.java | Text formatting fixed | <ide><path>lib-basefunctions-apachecommons/src/test/java/org/jlib/basefunctions/apachecommons/tostring/IdentifierOrClassNameToStringStyleSupplierTest.java
<ide> configurableSupplier.get();
<ide>
<ide> // then (failure)
<del> fail(format("Expected %a was not thrown." + ToStringStyleNo... | |
Java | apache-2.0 | ad73ab1e98e3324b37486506b8476d06c8830a4c | 0 | HomHomLin/weex,MrRaindrop/weex,acton393/weex,MrRaindrop/incubator-weex,xiayun200825/weex,MrRaindrop/weex,xiayun200825/weex,cxfeng1/weex,weexteam/incubator-weex,Neeeo/incubator-weex,Hanks10100/incubator-weex,erha19/incubator-weex,yuguitao/incubator-weex,Hanks10100/incubator-weex,Neeeo/incubator-weex,LeeJay0226/weex,yugu... | /**
*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and condi... | android/sdk/src/main/java/com/taobao/weex/ui/view/WXCircleViewPager.java | /**
*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and condi... | * [anrdoid] enable smooth scroll when autoplay
| android/sdk/src/main/java/com/taobao/weex/ui/view/WXCircleViewPager.java | * [anrdoid] enable smooth scroll when autoplay | <ide><path>ndroid/sdk/src/main/java/com/taobao/weex/ui/view/WXCircleViewPager.java
<ide> public boolean handleMessage(Message msg) {
<ide> if (isAutoScroll && !isPause) {
<ide>
<del> setCurrentItem(getCurrentItem() + 1);
<add> setCurrentItem(getCurrentItem() + 1,true);
<ide> mCircleHandler.remove... | |
Java | apache-2.0 | 24edc1d7a7330cad95af1363da8e54d129f64417 | 0 | lijian17/zxing,lijian17/zxing | package com.google.zxing.client.android.result;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import android.app.Activity;
import android.graphics.Typeface;
import android.telephony.PhoneNumberUtils;
import android.text... | demo/BarcodeScanner/src/com/google/zxing/client/android/result/AddressBookResultHandler.java | /*
* Copyright (C) 2008 ZXing 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 applicable law or agr... | 处理地址簿条目
| demo/BarcodeScanner/src/com/google/zxing/client/android/result/AddressBookResultHandler.java | 处理地址簿条目 | <ide><path>emo/BarcodeScanner/src/com/google/zxing/client/android/result/AddressBookResultHandler.java
<del>/*
<del> * Copyright (C) 2008 ZXing authors
<del> *
<del> * Licensed under the Apache License, Version 2.0 (the "License");
<del> * you may not use this file except in compliance with the License.
<del> * You may... | |
JavaScript | apache-2.0 | eb4965ef6344975761f891f84d50a96142297381 | 0 | DaanHoogland/cloudstack,jcshen007/cloudstack,resmo/cloudstack,resmo/cloudstack,jcshen007/cloudstack,wido/cloudstack,GabrielBrascher/cloudstack,resmo/cloudstack,DaanHoogland/cloudstack,wido/cloudstack,jcshen007/cloudstack,resmo/cloudstack,wido/cloudstack,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,jcshen007/... | // 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... | ui/scripts/system.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 may... | CLOUDSTACK-2351: object store - UI - Infrastructure menu - secondary storages - add secondary storage - NFS provider - replace addSecondaryStorage API with new API addImageStore.
| ui/scripts/system.js | CLOUDSTACK-2351: object store - UI - Infrastructure menu - secondary storages - add secondary storage - NFS provider - replace addSecondaryStorage API with new API addImageStore. | <ide><path>i/scripts/system.js
<ide>
<ide> createForm: {
<ide> title: 'label.add.secondary.storage',
<del> fields: {
<add> fields: {
<add> provider: {
<add> label: "Storage Provider",
<add> ... | |
JavaScript | mit | 81ab457bebbd0b84bcf03881f1779b71fefe85b8 | 0 | felipeleusin/hapi-negotiator | var Lab = require('lab');
var Code = require('code');
var Hapi = require('hapi');
var Path = require('path');
var lab = exports.lab = Lab.script();
var expect = Code.expect;
var before = lab.before;
var after = lab.after;
var describe = lab.describe;
var it = lab.it;
var sinon = require('sinon');
describe('AcceptHead... | test/index.js | var Lab = require('lab');
var Code = require('code');
var Hapi = require('hapi');
var lab = exports.lab = Lab.script();
var expect = Code.expect;
var before = lab.before;
var after = lab.after;
var describe = lab.describe;
var it = lab.it;
var sinon = require('sinon');
describe('AcceptHeader', function () {
var dat... | update tests for hapi 8
| test/index.js | update tests for hapi 8 | <ide><path>est/index.js
<ide> var Lab = require('lab');
<ide> var Code = require('code');
<ide> var Hapi = require('hapi');
<add>var Path = require('path');
<ide> var lab = exports.lab = Lab.script();
<ide> var expect = Code.expect;
<ide> var before = lab.before;
<ide>
<ide> describe('AcceptHeader', function () {
<ide... | |
Java | lgpl-2.1 | ea05382aa97eae01755fca009ca8b530154d88ef | 0 | threerings/nenya,threerings/nenya | //
// $Id: BundledComponentRepositoryTest.java 3720 2005-10-05 01:39:45Z mdb $
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or ... | tests/src/java/com/threerings/cast/bundle/BundledComponentRepositoryTest.java | //
// $Id: BundledComponentRepositoryTest.java 3720 2005-10-05 01:39:45Z mdb $
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or ... | Local variable never read.
git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@581 ed5b42cb-e716-0410-a449-f6a68f950b19
| tests/src/java/com/threerings/cast/bundle/BundledComponentRepositoryTest.java | Local variable never read. | <ide><path>ests/src/java/com/threerings/cast/bundle/BundledComponentRepositoryTest.java
<ide>
<ide> Iterator iter = repo.enumerateComponentClasses();
<ide> while (iter.hasNext()) {
<del> ComponentClass cclass = (ComponentClass)iter.next();
<add> // ComponentClass c... | |
Java | apache-2.0 | e059d99817e6871d3f3e8e65b61dfc3d53fdcb32 | 0 | gnanam336/error-prone,ropik/error-prone,sgoldfed/error-prone,google/error-prone,davidzchen/error-prone,Anish2/error-prone,davidzchen/error-prone,Turbo87/error-prone,Anish2/error-prone,garricko/error-prone,Anish2/error-prone,gnanam336/error-prone,cushon/error-prone,Anish2/error-prone,davidzchen/error-prone,cushon/error-... | /*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | core/src/test/java/com/google/errorprone/matchers/StaticMethodTest.java | /*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Added regression test for StaticMethod matcher matching static imports.
| core/src/test/java/com/google/errorprone/matchers/StaticMethodTest.java | Added regression test for StaticMethod matcher matching static imports. | <ide><path>ore/src/test/java/com/google/errorprone/matchers/StaticMethodTest.java
<ide> assertCompiles(memberSelectMatches(false, new StaticMethod("com.google.A", "instanceCount")));
<ide> }
<ide>
<add> @Test
<add> public void shouldMatchStaticImport() throws IOException {
<add> writeFile("B.java",
<add> ... | |
Java | apache-2.0 | cefcf776de7d910808913f332ce3881d14397f59 | 0 | sdnwiselab/onos,oplinkoms/onos,oplinkoms/onos,LorenzReinhart/ONOSnew,kuujo/onos,sdnwiselab/onos,donNewtonAlpha/onos,osinstom/onos,LorenzReinhart/ONOSnew,gkatsikas/onos,kuujo/onos,osinstom/onos,donNewtonAlpha/onos,opennetworkinglab/onos,opennetworkinglab/onos,gkatsikas/onos,LorenzReinhart/ONOSnew,osinstom/onos,kuujo/ono... | /*
* Copyright 2014-present 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 appli... | core/api/src/main/java/org/onosproject/net/flow/instructions/L2ModificationInstruction.java | /*
* Copyright 2014-present 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 appli... | Cosmetic fix for VLAN_POP instruction
Change-Id: I224916db270d080df5c86da095e7b85f2b2948be
| core/api/src/main/java/org/onosproject/net/flow/instructions/L2ModificationInstruction.java | Cosmetic fix for VLAN_POP instruction | <ide><path>ore/api/src/main/java/org/onosproject/net/flow/instructions/L2ModificationInstruction.java
<ide>
<ide> @Override
<ide> public String toString() {
<del> return subtype().toString() + SEPARATOR + ethernetType;
<add> // etherType is not specified in VLAN_POP case. Ignore i... | |
Java | apache-2.0 | 2d87b0412bd0c6b0cf20b78d0cd68316460872ed | 0 | nakul02/incubator-systemml,asurve/arvind-sysml2,gweidner/incubator-systemml,niketanpansare/incubator-systemml,asurve/systemml,asurve/incubator-systemml,asurve/systemml,akchinSTC/systemml,deroneriksson/incubator-systemml,deroneriksson/incubator-systemml,sandeep-n/incubator-systemml,niketanpansare/systemml,sandeep-n/incu... | /**
* IBM Confidential
* OCO Source Materials
* (C) Copyright IBM Corp. 2010, 2014
* The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office.
*/
package com.ibm.bi.dml.hops;
import com.ibm.bi.dml.api.DMLS... | SystemML/SystemML/DML/src/main/java/com/ibm/bi/dml/hops/TertiaryOp.java | /**
* IBM Confidential
* OCO Source Materials
* (C) Copyright IBM Corp. 2010, 2014
* The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office.
*/
package com.ibm.bi.dml.hops;
import com.ibm.bi.dml.api.DMLS... | 66141: SystemML Engine Enhancements - Fixing a bug in TertiaryOp.clone()
| SystemML/SystemML/DML/src/main/java/com/ibm/bi/dml/hops/TertiaryOp.java | 66141: SystemML Engine Enhancements - Fixing a bug in TertiaryOp.clone() | <ide><path>ystemML/SystemML/DML/src/main/java/com/ibm/bi/dml/hops/TertiaryOp.java
<ide>
<ide> //copy specific attributes
<ide> ret.op = op;
<add> ret.dimInputsPresent = dimInputsPresent;
<ide>
<ide> return ret;
<ide> } | |
Java | apache-2.0 | 65e5a4ce3ce2e8f11d04af9e81b2f7d865a7dd13 | 0 | wyona/yanel,wyona/yanel,baszero/yanel,wyona/yanel,baszero/yanel,baszero/yanel,baszero/yanel,baszero/yanel,wyona/yanel,baszero/yanel,wyona/yanel,wyona/yanel | /*
* Copyright 2007,2008,2009 Wyona
*/
package org.wyona.yanel.impl.resources.tinymce;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStre... | src/resources/tinymce/src/java/org/wyona/yanel/impl/resources/tinymce/TinyMCEResource.java | /*
* Copyright 2007,2008,2009 Wyona
*/
package org.wyona.yanel.impl.resources.tinymce;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStre... | javadoc added and isCheckoutOut method refactored
| src/resources/tinymce/src/java/org/wyona/yanel/impl/resources/tinymce/TinyMCEResource.java | javadoc added and isCheckoutOut method refactored | <ide><path>rc/resources/tinymce/src/java/org/wyona/yanel/impl/resources/tinymce/TinyMCEResource.java
<ide>
<ide>
<ide> /**
<del> *
<add> * Resource to edit another modifiable resource with TinyMCE
<ide> */
<ide> public class TinyMCEResource extends ExecutableUsecaseResource {
<ide>
<ide> if (isResTo... | |
JavaScript | mit | 36d5cf012534e136bbf519341aaceb6a047f43f0 | 0 | kmullin/tahoe-lafs-jisp,kmullin/tahoe-lafs-jisp | var uri_map = {
dir_id: '/d/',
file_id: '/f/',
dir_api: '/a/dir/'
};
var link_map = {
"URI:CHK:": uri_map.file_id,
"URI:DIR2:": uri_map.dir_id,
"URI:DIR2-RO:": uri_map.dir_id + 'ro/'
};
function get_link(lafs_uri) {
for (var k in link_map) {
if (lafs_uri.substr(0, k.length) == k)
return link_m... | public_html/assets/app.js | var uri_map = {
dir_id: '/d/',
file_id: '/f/',
dir_api: '/a/dir/'
};
var link_map = {
"URI:CHK:": uri_map.file_id,
"URI:DIR2:": uri_map.dir_id,
"URI:DIR2-RO:": uri_map.dir_id + 'ro/'
};
function get_link(lafs_uri) {
for (var k in link_map) {
if (lafs_uri.substr(0, k.length) == k)
return link_m... | I dont think this anchor is useful, messes with browswer history
| public_html/assets/app.js | I dont think this anchor is useful, messes with browswer history | <ide><path>ublic_html/assets/app.js
<ide>
<ide> function gen_unlink_button(filename, post_uri, return_to) {
<ide> var link_a = new Array();
<del> link_a.push('<a href="#" class="unlink_button text-error" data-return-to="' + return_to + '"');
<add> link_a.push('<a href="" class="unlink_button text-error" data-retur... | |
Java | apache-2.0 | bbe7d466bf20b9dd14c654e0e069160b95c808f5 | 0 | isparkes/OpenRate,isparkes/OpenRate | /* ====================================================================
* Limited Evaluation License:
*
* This software is open source, but licensed. The license with this package
* is an evaluation license, which may not be used for productive systems. If
* you want a full license, please contact us.
*
* The ex... | src/main/java/OpenRate/resource/notification/EmailNotificationCache.java | /* ====================================================================
* Limited Evaluation License:
*
* This software is open source, but licensed. The license with this package
* is an evaluation license, which may not be used for productive systems. If
* you want a full license, please contact us.
*
* The ex... | Fix NPE on emailer CC Addresses
git-svn-id: ab958c476311f74e86ee832004c6a67548147dc4@18 fa58ed31-cb36-4ed5-9fdd-8231cce51029
| src/main/java/OpenRate/resource/notification/EmailNotificationCache.java | Fix NPE on emailer CC Addresses | <ide><path>rc/main/java/OpenRate/resource/notification/EmailNotificationCache.java
<ide> import OpenRate.OpenRate;
<ide> import OpenRate.configurationmanager.ClientManager;
<ide> import OpenRate.configurationmanager.IEventInterface;
<del>import OpenRate.exception.ExceptionHandler;
<ide> import OpenRate.exception.Initia... | |
Java | apache-2.0 | 0e5612b41094f8b7ffa3c2e41d296c873d05ab9e | 0 | allanmoso/orientdb,orientechnologies/orientdb,mmacfadden/orientdb,jdillon/orientdb,tempbottle/orientdb,allanmoso/orientdb,redox/OrientDB,rprabhat/orientdb,tempbottle/orientdb,mbhulin/orientdb,alonsod86/orientdb,mmacfadden/orientdb,giastfader/orientdb,wyzssw/orientdb,cstamas/orientdb,joansmith/orientdb,giastfader/orient... | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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
... | server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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
... | Fixed cluster-wide UPDATE
| server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java | Fixed cluster-wide UPDATE | <ide><path>erver/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java
<ide> ORecordCallback<Integer> iCallback) {
<ide> Object result = null;
<ide>
<del> if (!dManager.isLocalNodeOwner(iRecordId))
<del> try {
<del> result = dManager.routeOperation2Node(iRecord... | |
Java | apache-2.0 | aff17ca9e5213487fe69723f36c07fd6982d16ce | 0 | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework | package org.springframework.web.servlet.mvc.annotation;
import java.io.IOException;
import java.io.Writer;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.servlet.ServletException;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.springframework.beans.BeansExcepti... | org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java | package org.springframework.web.servlet.mvc.annotation;
import java.io.IOException;
import java.io.Writer;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.servlet.ServletException;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.springframework.beans.BeansExcepti... | Uncommented test case
| org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java | Uncommented test case | <ide><path>rg.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java
<ide> writer.write("specific");
<ide> }
<ide>
<del>/*
<ide> @RequestMapping("/hotels/{hotel}")
<ide> public void handleVars(@PathVariable("hotel") String hote... | |
Java | agpl-3.0 | 7af79368b024a4bfdd8c3f0c466c7f3969549237 | 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 | 0e3756ba-2e62-11e5-9284-b827eb9e62be | hello.java | 0e31dd3e-2e62-11e5-9284-b827eb9e62be | 0e3756ba-2e62-11e5-9284-b827eb9e62be | hello.java | 0e3756ba-2e62-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>0e31dd3e-2e62-11e5-9284-b827eb9e62be
<add>0e3756ba-2e62-11e5-9284-b827eb9e62be | |
JavaScript | mit | 474177d1f469bf428179a87bcfe8fd1ec611d68c | 0 | IDotD/Userscript,Idrinth/IDotD | ( function ( idrinth ) {
'use strict';
idrinth.tier = {
/**
*
* @type {object}
*/
list: { },
/**
*
* @type {object}
*/
taggedSlots: { },
/**
*
* @param {string} name
* @returns {undefined}
... | src/mods/tier.js | ( function ( idrinth ) {
'use strict';
idrinth.tier = {
/**
*
* @type {object}
*/
list: { },
/**
*
* @type {object}
*/
taggedSlots: { },
/**
*
* @param {string} name
* @returns {undefined}
... | mentioning it's NM | src/mods/tier.js | mentioning it's NM | <ide><path>rc/mods/tier.js
<ide> },
<ide> makeButton (
<ide> 'copy',
<del> 'idrinth.core.copyToClipboard.text("' + boss.name + ': OS ' + idrinth.ui.formatNumber ( boss.os.nm ) + ', FS ' + idrin... | |
Java | bsd-2-clause | d0c2b28c12b609dcd6f3c6a5b7a8bcb1a148f103 | 0 | JFormDesigner/RichTextFX,JordanMartinez/RichTextFX,TomasMikula/RichTextFX,afester/RichTextFX,FXMisc/RichTextFX,JFormDesigner/RichTextFX,JordanMartinez/RichTextFX,afester/RichTextFX,TomasMikula/RichTextFX,FXMisc/RichTextFX | /*
* Created 2014 by Tomas Mikula.
*
* The author dedicates this file to the public domain.
*/
package org.fxmisc.richtext.demo.richtext;
import static org.fxmisc.richtext.model.TwoDimensional.Bias.*;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputSt... | richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/richtext/RichText.java | /*
* Created 2014 by Tomas Mikula.
*
* The author dedicates this file to the public domain.
*/
package org.fxmisc.richtext.demo.richtext;
import static org.fxmisc.richtext.model.TwoDimensional.Bias.*;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputSt... | Replace Panels with Toolbars.
Remove unused imports.
Add missing tooltips.
Enlarge button width. | richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/richtext/RichText.java | Replace Panels with Toolbars. Remove unused imports. Add missing tooltips. Enlarge button width. | <ide><path>ichtextfx-demos/src/main/java/org/fxmisc/richtext/demo/richtext/RichText.java
<ide> import javafx.application.Application;
<ide> import javafx.beans.binding.BooleanBinding;
<ide> import javafx.collections.FXCollections;
<add>import javafx.geometry.Orientation;
<ide> import javafx.scene.Node;
<ide> import jav... | |
Java | apache-2.0 | 4fb854480806e507bf017259a5bea9a944930bd7 | 0 | grails/gorm-hibernate5 | /* Copyright (C) 2011 SpringSource
*
* 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 ... | grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/HibernateDatastore.java | /* Copyright (C) 2011 SpringSource
*
* 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 ... | also use ConnectionSource.DEFAULT
| grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/HibernateDatastore.java | also use ConnectionSource.DEFAULT | <ide><path>rails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/HibernateDatastore.java
<ide> * @return The {@link HibernateDatastore}
<ide> */
<ide> public HibernateDatastore getDatastoreForConnection(String connectionName) {
<del> if(connectionName.equals(Settings.SETTING_DATA... | |
Java | cc0-1.0 | bd5d195e981e2b1df34cab25e3ca563b6c0058c6 | 0 | ArtixAllMighty/bol_java2D | package game.entity;
import engine.game.GameWorld;
import game.World;
import game.entity.living.EntityBomb;
import game.entity.living.EntityLiving;
import game.entity.living.EntityPig;
import game.entity.living.EntityWorm;
import game.entity.living.enemy.EntityBat;
import game.entity.living.enemy.EntityWarfBat;
import... | Game/src/game/entity/Entity.java | package game.entity;
import engine.game.GameWorld;
import game.World;
import game.entity.living.EntityBomb;
import game.entity.living.EntityLiving;
import game.entity.living.EntityPig;
import game.entity.living.EntityWorm;
import game.entity.living.enemy.EntityBat;
import game.entity.living.enemy.EntityWarfBat;
import... | new death particle
| Game/src/game/entity/Entity.java | new death particle | <ide><path>ame/src/game/entity/Entity.java
<ide> import game.entity.living.enemy.EntityBat;
<ide> import game.entity.living.enemy.EntityWarfBat;
<ide> import game.entity.living.environement.EntityDeathAnim;
<add>import game.entity.living.environement.EntityDeathParticle;
<ide> import game.entity.living.environement.Ent... | |
Java | apache-2.0 | 7eba93edde09372faf193b84ebc8ace3443c6251 | 0 | arquivo/functional-tests,arquivo/functional-tests | package pt.fccn.mobile.arquivo.tests.menu;
import org.openqa.selenium.By;
import pt.fccn.arquivo.selenium.WebDriverTestBaseParalell;
public abstract class MenuTest extends WebDriverTestBaseParalell {
public MenuTest(String os, String version, String browser, String deviceName, String deviceOrientation) {
super(o... | src/test/java/pt/fccn/mobile/arquivo/tests/menu/MenuTest.java | package pt.fccn.mobile.arquivo.tests.menu;
import org.openqa.selenium.By;
import pt.fccn.arquivo.selenium.WebDriverTestBaseParalell;
public abstract class MenuTest extends WebDriverTestBaseParalell {
public MenuTest(String os, String version, String browser, String deviceName, String deviceOrientation) {
super(o... | Fix xpath
| src/test/java/pt/fccn/mobile/arquivo/tests/menu/MenuTest.java | Fix xpath | <ide><path>rc/test/java/pt/fccn/mobile/arquivo/tests/menu/MenuTest.java
<ide>
<ide> protected void openMenu() {
<ide> run("Open left menu", () -> {
<del> waitUntilElementIsVisibleAndGet(By.xpath("//*[@id=\"menuButton\"]/div")).click();
<add> waitUntilElementIsVisibleAndGet(By.xpath("//*[@id=\"menuButton\"]")).c... | |
Java | epl-1.0 | 8d4c777d5426fe370965352eb3187fee4a9a3536 | 0 | spring-projects/eclipse-integration-tcserver,spring-projects/eclipse-integration-tcserver | /*******************************************************************************
* Copyright (c) 2012, 2018 Pivotal Software, Inc.
* 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 ... | com.vmware.vfabric.ide.eclipse.tcserver.tests/src/com/vmware/vfabric/ide/eclipse/tcserver/tests/support/TcServerFixture.java | /*******************************************************************************
* Copyright (c) 2012, 2018 Pivotal Software, Inc.
* 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 ... | changed test tc server version for 2.7 releases from rc1 to 2.7.5 release
| com.vmware.vfabric.ide.eclipse.tcserver.tests/src/com/vmware/vfabric/ide/eclipse/tcserver/tests/support/TcServerFixture.java | changed test tc server version for 2.7 releases from rc1 to 2.7.5 release | <ide><path>om.vmware.vfabric.ide.eclipse.tcserver.tests/src/com/vmware/vfabric/ide/eclipse/tcserver/tests/support/TcServerFixture.java
<ide> "http://download.springsource.com/release/TCS/vfabric-tc-server-developer-2.6.1.RELEASE.zip");
<ide>
<ide> public static TcServerFixture V_2_7 = new TcServerFixture(TcServerT... | |
JavaScript | mit | f0c8687a48da52aa2f5d8f7f29697b6dc4c50fdd | 0 | bd808/php-unserialize-js,bd808/php-unserialize-js | /*!
* php-unserialize-js JavaScript Library
* https://github.com/bd808/php-unserialize-js
*
* Copyright 2013 Bryan Davis and contributors
* Released under the MIT license
* http://www.opensource.org/licenses/MIT
*/
(function (root, factory) {
/*global define, exports, module */
"use strict";
/* istanbul ... | phpUnserialize.js | /*!
* php-unserialize-js JavaScript Library
* https://github.com/bd808/php-unserialize-js
*
* Copyright 2013 Bryan Davis and contributors
* Released under the MIT license
* http://www.opensource.org/licenses/MIT
*/
(function (root, factory) {
/*global define, exports, module */
"use strict";
/* istanbul ... | Push defalt parameter into method
Default parameters are an ES2015 feature. We can emulate them using
a more verbose check for undefined in the method body.
Fixes #17
| phpUnserialize.js | Push defalt parameter into method | <ide><path>hpUnserialize.js
<ide> return val;
<ide> } //end parseAsBoolean
<ide>
<del> , readString = function (expect = '"') {
<add> , readString = function (expect) {
<add> expect = typeof expect !== "undefined" ? expect : '"';
<ide> var len = readLength()
<ide> ... | |
Java | apache-2.0 | 6e0872344fbd5c6d9e8133f3700679fabd93ba5a | 0 | phax/ph-commons | /**
* Copyright (C) 2014 Philip Helger (www.helger.com)
* philip[at]helger[dot]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... | src/test/java/com/helger/commons/collections/iterate/ArrayIteratorTest.java | /**
* Copyright (C) 2014 Philip Helger (www.helger.com)
* philip[at]helger[dot]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... | FB fix | src/test/java/com/helger/commons/collections/iterate/ArrayIteratorTest.java | FB fix | <ide><path>rc/test/java/com/helger/commons/collections/iterate/ArrayIteratorTest.java
<ide>
<ide> /**
<ide> * Test class for class {@link ArrayIterator}.
<del> *
<add> *
<ide> * @author Philip Helger
<ide> */
<ide> public final class ArrayIteratorTest
<ide> {
<del> @SuppressFBWarnings ("TQ_NEVER_VALUE_USED_WHERE_... | |
Java | apache-2.0 | 51e574f2a14774555f8e77c25e2b26ef5a546b8e | 0 | SpineEventEngine/jdbc-storage,SpineEventEngine/jdbc-storage | /*
* Copyright 2016, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | rdbms/src/main/java/org/spine3/server/storage/jdbc/Sql.java | /*
* Copyright 2016, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | Fix minor javadoc issue.
| rdbms/src/main/java/org/spine3/server/storage/jdbc/Sql.java | Fix minor javadoc issue. | <ide><path>dbms/src/main/java/org/spine3/server/storage/jdbc/Sql.java
<ide>
<ide> /**
<ide> * Set of SQL keywords representing 5 aggregating functions:
<add> *
<ide> * <ul>
<ide> * <li>MIN
<ide> * <li>MAX
<ide>
<ide> /**
<ide> * Set of punctuation signs used in SQL:
<add> ... | |
Java | apache-2.0 | e60baedc9ce7dd003f2184f77542845ba70197b4 | 0 | electrum/presto,EvilMcJerkface/presto,martint/presto,Yaliang/presto,EvilMcJerkface/presto,martint/presto,sopel39/presto,youngwookim/presto,smartnews/presto,mvp/presto,smartnews/presto,zzhao0/presto,raghavsethi/presto,11xor6/presto,losipiuk/presto,twitter-forks/presto,ebyhr/presto,Yaliang/presto,treasure-data/presto,Pra... | /*
* 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... | presto-main/src/test/java/com/facebook/presto/execution/TestQueryManagerConfig.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... | add test for testDefaults
| presto-main/src/test/java/com/facebook/presto/execution/TestQueryManagerConfig.java | add test for testDefaults | <ide><path>resto-main/src/test/java/com/facebook/presto/execution/TestQueryManagerConfig.java
<ide> .setInitializationRequiredWorkers(1)
<ide> .setInitializationTimeout(new Duration(5, TimeUnit.MINUTES))
<ide> .setRequiredWorkers(1)
<del> .setRequiredWorker... | |
Java | apache-2.0 | e68cc126af576bc7427547f86c56d211a7220b6d | 0 | fbpatel/google-feedserver,Lyleo/google-feedserver,Lyleo/google-feedserver,fbpatel/google-feedserver,fbpatel/google-feedserver,Lyleo/google-feedserver,fbpatel/google-feedserver,Lyleo/google-feedserver | /*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | src/java/com/google/feedserver/util/FeedServerUtil.java | /*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Changed to returning null when property doesn't exist | src/java/com/google/feedserver/util/FeedServerUtil.java | Changed to returning null when property doesn't exist | <ide><path>rc/java/com/google/feedserver/util/FeedServerUtil.java
<ide> *
<ide> * @param properties The collection to get the property from
<ide> * @param key The property to get
<del> * @return The value of the property converted to a string
<del> * @throws RuntimeException if the property does not exist... | |
Java | apache-2.0 | db27e8a59e5aaff41cc7523047c643c8d9b70425 | 0 | cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba | /*
* Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved.
* Haulmont Technology proprietary and confidential.
* Use is subject to license terms.
* Author: Nikolay Gorodnov
* Created: 02.09.2009 18:22:05
*
* $Id$
*/
package com.haulmont.cuba.toolkit.gwt.client.ui;
import com.google.gwt.... | modules/web-war/src/com/haulmont/cuba/toolkit/gwt/client/ui/Table.java | /*
* Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved.
* Haulmont Technology proprietary and confidential.
* Use is subject to license terms.
* Author: Nikolay Gorodnov
* Created: 02.09.2009 18:22:05
*
* $Id$
*/
package com.haulmont.cuba.toolkit.gwt.client.ui;
import com.google.gwt.... | Table navigation
| modules/web-war/src/com/haulmont/cuba/toolkit/gwt/client/ui/Table.java | Table navigation | <ide><path>odules/web-war/src/com/haulmont/cuba/toolkit/gwt/client/ui/Table.java
<ide>
<ide> protected final TableHead tHead;
<ide>
<add> private final FocusPanel focusPanel = new FocusPanel();
<ide> protected final ScrollPanel bodyContainer = new ScrollPanel();
<ide>
<ide> protected int totalRows;
<i... | |
Java | apache-2.0 | 04bbb43e28f14b61412b71ecae19921ab67d62cc | 0 | qtproject/qtqa-gerrit-plugin-replication,GerritCodeReview/plugins_replication | // Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java | // Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Add method to push changes directly to given replica
This makes it possible to push changes directly to given replica
instance without sending unnecessary requests to others.
The method is intended to be used by other plugins that extend the
replication plugin.
Change-Id: Ib3e5a6c3afde834855d055b31beb43a560f8d785
Si... | src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java | Add method to push changes directly to given replica | <ide><path>rc/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java
<ide> import com.google.gerrit.extensions.events.ProjectDeletedListener;
<ide> import com.google.gerrit.extensions.registration.DynamicItem;
<ide> import com.google.gerrit.reviewdb.client.Project;
<add>import com.google.gerrit.ser... | |
JavaScript | mit | c45013a18a5c76d9563a94180503841f8764a005 | 0 | cse-bristol/energy-efficiency-planner,cse-bristol/energy-efficiency-planner,cse-bristol/energy-efficiency-planner | "use strict";
/*global module, require*/
var leaflet = require("leaflet"),
d3 = require("d3"),
helpers = require("./helpers.js"),
callbacks = helpers.callbackHandler,
heatMapLegendFactory = require("./heat-map-legend.js");
var decorateTileLayers = function(tileLayers, opacity) {
tileLayers.forEac... | js/tile-layers.js | "use strict";
/*global module, require*/
var leaflet = require("leaflet"),
d3 = require("d3"),
helpers = require("./helpers.js"),
callbacks = helpers.callbackHandler,
heatMapLegendFactory = require("./heat-map-legend.js");
var decorateTileLayers = function(tileLayers, opacity) {
tileLayers.forEac... | Added bounds to heat map layer to prevent unnecessary requests.
| js/tile-layers.js | Added bounds to heat map layer to prevent unnecessary requests. | <ide><path>s/tile-layers.js
<ide> nationalHeatMap = leaflet.tileLayer('/heat-map-cdn/Total%20Heat%20Density/Z{z}/{y}/{x}.png', {
<ide> attribution: '<a href="http://tools.decc.gov.uk/nationalheatmap/">English National Heat Map</a>,',
<ide> minZoom: 2,
<del> maxZoom: 17
<add> maxZoom: 17,
<add> bo... | |
Java | apache-2.0 | 909c4e100c2dc070b5fb2997777e305cbe2a5b9b | 0 | Adobe-Consulting-Services/acs-aem-samples,Adobe-Consulting-Services/acs-aem-samples,Adobe-Consulting-Services/acs-aem-samples | /*
* #%L
* ACS AEM Samples
* %%
* Copyright (C) 2015 Adobe
* %%
* 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 requir... | core/src/main/java/com/adobe/acs/samples/services/impl/SampleMultiReferenceServiceImpl.java | /*
* #%L
* ACS AEM Samples
* %%
* Copyright (C) 2015 Adobe
* %%
* 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 requir... | Update SampleMultiReferenceServiceImpl.java | core/src/main/java/com/adobe/acs/samples/services/impl/SampleMultiReferenceServiceImpl.java | Update SampleMultiReferenceServiceImpl.java | <ide><path>ore/src/main/java/com/adobe/acs/samples/services/impl/SampleMultiReferenceServiceImpl.java
<ide> // List to store Service objects derived from the serviceReferenceArray
<ide> // Note: This Map MUST be thread-safe; there is no guarentee that OSGi will not be adding/removing
<ide> // service refer... | |
JavaScript | mit | 504a9f61eab83cd0259ae78fb99d71a72dc4d0d2 | 0 | bprymicz/thinky,soplakanets/thinky,gjuchault/thinky,gutenye/thinky-websocket,soplakanets/thinky,JohnyDays/thinky,gutenye/thinky-websocket,mbroadst/thinky,JohnyDays/thinky,gutenye/thinky-websocket | var util = require(__dirname+'/util.js');
var schemaUtil = require(__dirname+'/schema.js');
var Document = require(__dirname+'/document.js');
var EventEmitter = require('events').EventEmitter;
var Query = require(__dirname+'/query.js');
var Promise = require('bluebird');
var Errors = require(__dirname+'/errors.js');
/... | lib/model.js | var util = require(__dirname+'/util.js');
var schemaUtil = require(__dirname+'/schema.js');
var Document = require(__dirname+'/document.js');
var EventEmitter = require('events').EventEmitter;
var Query = require(__dirname+'/query.js');
var Promise = require('bluebird');
var Errors = require(__dirname+'/errors.js');
/... | Emit 'ready' and 'created' when the accountable promises are ready
According to present expectations, we should emit 'created' when the
Model's table has been created, and 'ready' whenever the Model goes
from being busy to when it's OK to use.
| lib/model.js | Emit 'ready' and 'created' when the accountable promises are ready | <ide><path>ib/model.js
<ide> });
<ide>
<ide> return this._tableReadyPromise.then(function() {
<del> self._tableWasCreated();
<add> self.emit('created');
<add> if (!self._pendingPromises.length) {
<add> self.emit('ready');
<add> }
<ide> });
<ide> };
<ide>
<ide> };
<ide>
<ide> Model.prototype._... | |
Java | bsd-3-clause | bfb0f1c46342afa8db8ee8c6c6f5cdfcc7506a76 | 0 | karouani/javasimon,Muktesh01/javasimon,virgo47/javasimon,karouani/javasimon,Acidburn0zzz/javasimon,ferstl/javasimon,google-code-export/javasimon,karouani/javasimon,mukteshkrmishra/javasimon,Acidburn0zzz/javasimon,google-code-export/javasimon,mukteshkrmishra/javasimon,syzer/javasimon,Muktesh01/javasimon,ilmaliek/javasim... | package org.javasimon.utils;
import org.javasimon.*;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.concurrent.Callable;
import java.util.regex.Pattern;
/**
* SimonUtils provides static utilit... | core/src/main/java/org/javasimon/utils/SimonUtils.java | package org.javasimon.utils;
import org.javasimon.*;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.concurrent.Callable;
import java.util.regex.Pattern;
/**
* SimonUtils provides static utilit... | Fixed presentNanoTimes for cases where time is negative (used in last splits to present time variation)
| core/src/main/java/org/javasimon/utils/SimonUtils.java | Fixed presentNanoTimes for cases where time is negative (used in last splits to present time variation) | <ide><path>ore/src/main/java/org/javasimon/utils/SimonUtils.java
<ide> * @return human readable time string
<ide> */
<ide> private static String presentOverNanoTime(double time) {
<del> if (time < 1d) {
<add> if (Math.abs(time) < 1d) {
<ide> return "0";
<ide> }
<ide> | |
Java | apache-2.0 | 68fa0f540afc75421418877eb42603aa8ca4e8ef | 0 | google/rejoiner,google/rejoiner,google/rejoiner,google/rejoiner | // Copyright 2017 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaModule.java | // Copyright 2017 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Wrapping calls to datafetcher.get in preparation for updating GraphQL-Java.
| rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaModule.java | Wrapping calls to datafetcher.get in preparation for updating GraphQL-Java. | <ide><path>ejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaModule.java
<ide> @Override
<ide> public Object apply(String s) {
<ide> // TODO: Don't hardcode the arguments structure.
<del> return graphQLFieldDefinition
<del> ... | |
Java | lgpl-2.1 | f67dd9f0f0129aff4edfc5438810938daf8425ba | 0 | cytoscape/welcome | package org.cytoscape.welcome.internal;
/*
* #%L
* Cytoscape Welcome Screen Impl (welcome-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Licen... | src/main/java/org/cytoscape/welcome/internal/CyActivator.java | package org.cytoscape.welcome.internal;
/*
* #%L
* Cytoscape Welcome Screen Impl (welcome-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Licen... | Refs” #2320: “Visual Style" replaced by just "Style” on the UI.
| src/main/java/org/cytoscape/welcome/internal/CyActivator.java | Refs” #2320: “Visual Style" replaced by just "Style” on the UI. | <ide><path>rc/main/java/org/cytoscape/welcome/internal/CyActivator.java
<ide> generateCustomStyleTaskFactoryProps.setProperty(PREFERRED_MENU, "Tools.Workflow");
<ide> generateCustomStyleTaskFactoryProps.setProperty(MENU_GRAVITY, "20.0");
<ide> generateCustomStyleTaskFactoryProps.setProperty(TITLE,
<del> "Analy... | |
Java | apache-2.0 | 4e70cfb5f954c2ee584c4524216462af6a21a2b3 | 0 | ColonelCheese/wheely.test,ColonelCheese/wheely.test | package com.myasishchev.wheelytest.model;
import com.google.android.gms.maps.model.LatLng;
import org.json.JSONObject;
import java.io.Serializable;
/**
* Created by MyasishchevA on 25.09.2014.
*/
public class WMarker implements Serializable {
private static final java.lang.String TAG_ID = "id";
private s... | app/src/main/java/com/myasishchev/wheelytest/model/WMarker.java | package com.myasishchev.wheelytest.model;
import com.google.android.gms.maps.model.LatLng;
import org.json.JSONObject;
import java.io.Serializable;
/**
* Created by MyasishchevA on 25.09.2014.
*/
public class WMarker implements Serializable {
private static final java.lang.String TAG_ID = "id";
private s... | WMarker LatLng fix
| app/src/main/java/com/myasishchev/wheelytest/model/WMarker.java | WMarker LatLng fix | <ide><path>pp/src/main/java/com/myasishchev/wheelytest/model/WMarker.java
<ide> private static final java.lang.String TAG_LONGITUDE = "lon";
<ide>
<ide> private int id;
<del> private LatLng position;
<add> private double latitude;
<add> private double longitude;
<ide>
<ide> private WMarker(JSONOb... | |
JavaScript | mit | cdefee2d2297de421155096fab229723458c4a25 | 0 | cartoon-battle/cartoon-battle.github.io,cartoon-battle/cartoon-battle.github.io,cartoon-battle/cartoon-battle.github.io,cartoon-battle/cartoon-battle.github.io | /* global define */ define(['react', 'cartoon-battle/config'], function (React, config) {
var $ = React.createElement;
function findNextItem(array) {
var initial = {
isCurrent: false,
value: null
};
return array.reduce(function (context, item) {
retu... | javascript/views/RumbleStandings.js | /* global define */ define(['react', 'cartoon-battle/config'], function (React, config) {
var $ = React.createElement;
function findNextItem(array) {
var initial = {
isCurrent: false,
value: null
};
return array.reduce(function (context, item) {
retu... | widen the name column
| javascript/views/RumbleStandings.js | widen the name column | <ide><path>avascript/views/RumbleStandings.js
<ide> return $("thead", {},
<ide> $('tr', {},
<ide> $('th', {}, '#'),
<del> $('th', {}, 'Guild Name'),
<add> $('th', {style: {"width": "33%"}}, 'Guild Name'),
<ide> $('... | |
Java | mit | 9673489d0c57a0ecddbe8c3501a3bbfd78a79d90 | 0 | codistmonk/IMJ | package imj.apps.modules;
import static java.lang.Double.isInfinite;
import static java.lang.Double.isNaN;
import static java.lang.Math.min;
import static java.util.Arrays.fill;
import imj.Image;
import imj.ImageWrangler;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt... | IMJ/src/imj/apps/modules/BigImageComponent.java | package imj.apps.modules;
import static java.lang.Double.isInfinite;
import static java.lang.Double.isNaN;
import imj.Image;
import imj.ImageWrangler;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.KeyAdapter;
im... | [IMJ]
Improved speed of BigImageComponent when previewing filters with a large scaling.
| IMJ/src/imj/apps/modules/BigImageComponent.java | [IMJ] Improved speed of BigImageComponent when previewing filters with a large scaling. | <ide><path>MJ/src/imj/apps/modules/BigImageComponent.java
<ide>
<ide> import static java.lang.Double.isInfinite;
<ide> import static java.lang.Double.isNaN;
<add>import static java.lang.Math.min;
<add>import static java.util.Arrays.fill;
<ide> import imj.Image;
<ide> import imj.ImageWrangler;
<ide>
<ide>
<ide> pri... | |
Java | apache-2.0 | 022f593344c99bc8d198a0b363f94e294fc6f478 | 0 | snowplow/snowplow-android-tracker,snowplow/snowplow-android-tracker | /*
* Copyright (c) 2015 Snowplow Analytics Ltd. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org... | snowplow-android-core/src/main/java/com/snowplowanalytics/snowplow/tracker/storage/EventStore.java | /*
* Copyright (c) 2015 Snowplow Analytics Ltd. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org... | Core: enabled writeAheadLogging for the SQLite database (closes #141)
| snowplow-android-core/src/main/java/com/snowplowanalytics/snowplow/tracker/storage/EventStore.java | Core: enabled writeAheadLogging for the SQLite database (closes #141) | <ide><path>nowplow-android-core/src/main/java/com/snowplowanalytics/snowplow/tracker/storage/EventStore.java
<ide> public void open() {
<ide> if (!isDatabaseOpen()) {
<ide> database = dbHelper.getWritableDatabase();
<add> database.enableWriteAheadLogging();
<ide> }
<ide> }... | |
Java | apache-2.0 | 5445f41ef6e91cef7ff3e8a07721743afe7893a0 | 0 | pax95/camel,cunningt/camel,pmoerenhout/camel,tdiesler/camel,apache/camel,apache/camel,gnodet/camel,tadayosi/camel,pax95/camel,christophd/camel,tadayosi/camel,nikhilvibhav/camel,cunningt/camel,adessaigne/camel,tdiesler/camel,nikhilvibhav/camel,adessaigne/camel,christophd/camel,pmoerenhout/camel,pax95/camel,apache/camel,... | /*
* 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 ... | components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.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 ... | camel-kafka - Add debug logging for topic partition id when committing.
| components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java | camel-kafka - Add debug logging for topic partition id when committing. | <ide><path>omponents/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java
<ide> boolean forceCommit) {
<ide> if (partitionLastOffset != -1) {
<ide> if (!endpoint.getConfiguration().isAllowManualCommit() && offsetRepository != null) {
<del> ... | |
Java | apache-2.0 | 1682d20b802daf7cdbef0f13aa820b3bcb364976 | 0 | OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue | /*
* Copyright 2016-2020 https://chronicle.software
*
* 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 appl... | src/main/java/net/openhft/chronicle/queue/impl/single/SCQIndexing.java | /*
* Copyright 2016-2020 https://chronicle.software
*
* 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 appl... | Wires.padOffset -> BytesUtil.padOffset
| src/main/java/net/openhft/chronicle/queue/impl/single/SCQIndexing.java | Wires.padOffset -> BytesUtil.padOffset | <ide><path>rc/main/java/net/openhft/chronicle/queue/impl/single/SCQIndexing.java
<ide>
<ide> import net.openhft.chronicle.bytes.Byteable;
<ide> import net.openhft.chronicle.bytes.Bytes;
<add>import net.openhft.chronicle.bytes.BytesUtil;
<ide> import net.openhft.chronicle.core.Jvm;
<ide> import net.openhft.chronicle.co... | |
Java | apache-2.0 | error: pathspec 'src/com/twu/biblioteca/view/UserDetailsView.java' did not match any file(s) known to git
| 39e9f1eba64bacec43cacf61fb4ed87291998045 | 1 | michal-huzevka/twu-biblioteca-michalhuzevka | package com.twu.biblioteca.view;
import com.twu.biblioteca.model.UserAccount;
/**
* Created by michal on 2/23/15.
*/
public class UserDetailsView implements View {
private UserAccount account;
public UserDetailsView(UserAccount account) {
this.account = account;
}
public String output() {
... | src/com/twu/biblioteca/view/UserDetailsView.java | Completed UserDetailsView
| src/com/twu/biblioteca/view/UserDetailsView.java | Completed UserDetailsView | <ide><path>rc/com/twu/biblioteca/view/UserDetailsView.java
<add>package com.twu.biblioteca.view;
<add>
<add>import com.twu.biblioteca.model.UserAccount;
<add>
<add>/**
<add> * Created by michal on 2/23/15.
<add> */
<add>public class UserDetailsView implements View {
<add> private UserAccount account;
<add> public... | |
JavaScript | mit | ad23dda9a4216d32e73f113cb7c9853982a917b3 | 0 | kooison/hongkongstockcharts,kooison/hongkongstockcharts | var WATCH_JSON_LIST =
[
[110000, 28501, 22635],
[2858],
[1337],
[1720],
[772],
[6060],
[451],
[221004],
[110010],
[700],
[5],
[175],
[1211],
[1918],
[1919],
[2777],
[3333],
[1],
[388],
[3988],
[293],
[1523],
[802],
[1150],
[1165],
[3800],
[823],
[2318],
[1299],... | html/2.0/watch-list.js | var WATCH_JSON_LIST =
[
[110000, 28501, 22635],
[2858],
[1337],
[1720],
[772],
[6060],
[451],
[221004],
[110010],
[700],
[5],
[175],
[1211, 16904],
[1918],
[1919],
[2777],
[3333],
[1],
[388],
[3988],
[293],
[1523],
[802],
[1150],
[1165],
[3800],
[823],
[2318],
... | Update watch-list.js | html/2.0/watch-list.js | Update watch-list.js | <ide><path>tml/2.0/watch-list.js
<ide> [700],
<ide> [5],
<ide> [175],
<del> [1211, 16904],
<add> [1211],
<ide> [1918],
<ide> [1919],
<ide> [2777],
<ide> [3800],
<ide> [823],
<ide> [2318],
<del> [1299]
<add> [1299],
<add> [66],
<add> [6]
<ide> ]; | |
Java | lgpl-2.1 | 1ae448f831fcc439791d0f984e6f1b047343c6a2 | 0 | zebrik/testsuite,hal/testsuite,rhatlapa/testsuite,hal/testsuite,zebrik/testsuite,honza-kasik/testsuite,rsearls/testsuite,hpehl/testsuite,honza-kasik/testsuite,rsearls/testsuite,rhatlapa/testsuite,hpehl/testsuite | /*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | common/src/main/java/org/jboss/hal/testsuite/finder/Application.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | Added longer wainting in Apllication waitUntilVisible
| common/src/main/java/org/jboss/hal/testsuite/finder/Application.java | Added longer wainting in Apllication waitUntilVisible | <ide><path>ommon/src/main/java/org/jboss/hal/testsuite/finder/Application.java
<ide> public static final By APPLICATION_PANEL = By.className("rhs-content-panel");
<ide>
<ide> public static void waitUntilVisible() {
<del> Graphene.waitGui().until().element(APPLICATION_PANEL).is().visible();
<add> ... | |
JavaScript | bsd-2-clause | 6e27e6a0a646bcd70988123342914c1f12054025 | 0 | mcanthony/RiverTrail,mcanthony/RiverTrail,mcanthony/RiverTrail | /*
* Copyright (c) 2011, Intel Corporation
* 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 ... | jslib/jit/compiler/genOCL.js | /*
* Copyright (c) 2011, Intel Corporation
* 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 ... | removed unused and rotten code
| jslib/jit/compiler/genOCL.js | removed unused and rotten code | <ide><path>slib/jit/compiler/genOCL.js
<ide> }
<ide>
<ide> RiverTrail.compiler.codeGen = (function() {
<del> const verboseDebug = false;
<add> const verboseDebug = true;
<ide> const checkBounds = true;
<ide> const parser = Narcissus.parser;
<ide> const definitions = Narcissus.definitions;
<ide> e... | |
JavaScript | mit | 2b5063bcc4c3e1b0b422884a88d9dc69abc81d89 | 0 | bringg/customer-js-sdk | /*global $:false */
'use strict';
var BringgSDK = (function () {
var module = {};
//========================================================================
//
// CONSTS
//
//========================================================================
var MAX_LOCATION_POINTS_FOR_UPDATE = 50;
var WAY_POIN... | BringgSDK.js | /*global $:false */
'use strict';
var BringgSDK = (function () {
var module = {};
//========================================================================
//
// CONSTS
//
//========================================================================
var MAX_LOCATION_POINTS_FOR_UPDATE = 50;
var WAY_POIN... | added methods for enabling/disabling the autoWatch for driver and waypoint
| BringgSDK.js | added methods for enabling/disabling the autoWatch for driver and waypoint | <ide><path>ringgSDK.js
<ide> }
<ide> };
<ide>
<add> module.setAutoWatchDriver = function(enable){
<add> shouldAutoWatchDriver = enable
<add> };
<add>
<add> module.setAutoWatchWayPoint = function(enable){
<add> shouldAutoWatchWayPoint = enable
<add> };
<add>
<ide> //===================================... | |
Java | mit | e8f380dbc9efc7dc6589e774d737f45298ec734a | 0 | nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations | package algorithms.imageProcessing;
import algorithms.CountingSort;
import algorithms.MultiArrayMergeSort;
import algorithms.QuickSort;
import algorithms.util.PairIntArray;
import algorithms.util.PairInt;
import algorithms.util.PointPairInt;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.Arr... | src/algorithms/imageProcessing/EdgeExtractorWithJunctions.java | package algorithms.imageProcessing;
import algorithms.CountingSort;
import algorithms.MultiArrayMergeSort;
import algorithms.QuickSort;
import algorithms.util.PairIntArray;
import algorithms.util.PairInt;
import algorithms.util.PointPairInt;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.Arr... | improvements to the junction point joiner in the
EdgeExtractorWithJunctions. | src/algorithms/imageProcessing/EdgeExtractorWithJunctions.java | improvements to the junction point joiner in the EdgeExtractorWithJunctions. | <ide><path>rc/algorithms/imageProcessing/EdgeExtractorWithJunctions.java
<ide> */
<ide> public class EdgeExtractorWithJunctions extends AbstractEdgeExtractor {
<ide>
<del> private boolean debug = true;
<add> private boolean debug = false;
<ide>
<ide> /**
<ide> * map with key = center of juncti... | |
Java | apache-2.0 | 27e18a2811909ba7fbb4e9334d92b8475fb27b90 | 0 | pousse-cafe/pousse-cafe,pousse-cafe/pousse-cafe | package poussecafe.environment;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import poussecafe.exception.SameOperationException;
import poussecafe.runtime.DuplicateKeyException;
import poussecafe.runtime.OptimisticLockingException;
publi... | pousse-cafe-core/src/main/java/poussecafe/environment/MessageConsumptionReport.java | package poussecafe.environment;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import poussecafe.exception.SameOperationException;
import poussecafe.runtime.DuplicateKeyException;
import poussecafe.runtime.OptimisticLockingException;
publi... | Fix success reporting for APM transctions.
#106 | pousse-cafe-core/src/main/java/poussecafe/environment/MessageConsumptionReport.java | Fix success reporting for APM transctions. | <ide><path>ousse-cafe-core/src/main/java/poussecafe/environment/MessageConsumptionReport.java
<ide> }
<ide>
<ide> public boolean isSuccess() {
<del> return failures.isEmpty() || successfulAggregatesIds.size() == allAggregatesIds.size();
<add> return failures.isEmpty() && successfulAggregatesIds.s... | |
Java | mit | 728e64fcc48daa747bb07571a56c3d182264b263 | 0 | kjian279/springies | package objects;
import jboxGlue.PhysicalSpring;
import jgame.JGColor;
public class Muscle extends PhysicalSpring {
private static final JGColor DEFAULT_COLOR = JGColor.black;
public static final float DEFAULT_RESTLENGTH = 20;
public static final float DEFAULT_SPRINGYNESS = 1;
public static final float DEFAULT_AM... | src/Objects/Muscle.java | package objects;
import jboxGlue.PhysicalSpring;
import jgame.JGColor;
public class Muscle extends PhysicalSpring {
private static final JGColor DEFAULT_COLOR = JGColor.black;
public static final float DEFAULT_RESTLENGTH = 20;
public static final float DEFAULT_SPRINGYNESS = 1;
public static final float DEFAULT_AM... | fixed accidental public vars to private
| src/Objects/Muscle.java | fixed accidental public vars to private | <ide><path>rc/Objects/Muscle.java
<ide> public static final float DEFAULT_FREQUENCY = 20;
<ide> public static final int DEFAULT_CID = 2;
<ide>
<del> public float myRestLength;
<del> public float mySpringyness;
<del> public float myAmplitude;
<del> public float myFrequency;
<add> private float myRestLength;
<add> pri... | |
JavaScript | mit | aef3c42218981d71d4cfb76361d164e4bd53c3c4 | 0 | github/time-elements,github/time-elements | import {assert} from '@open-wc/testing'
import '../src/relative-time-element.ts'
suite('relative-time', function () {
let dateNow
function freezeTime(expected) {
dateNow = Date
function MockDate(...args) {
if (args.length) {
return new dateNow(...args)
}
return new dateNow(expec... | test/relative-time.js | import {assert} from '@open-wc/testing'
import '../src/relative-time-element.ts'
suite('relative-time', function () {
let dateNow
function freezeTime(expected) {
dateNow = Date
function MockDate(...args) {
if (args.length) {
return new dateNow(...args)
}
return new dateNow(expec... | Add some format and tense `auto` tests
Co-authored-by: Keith Cirkel <97f56a8fad07f0ba3ccece25dee7746a0f3b7837@users.noreply.github.com>
| test/relative-time.js | Add some format and tense `auto` tests | <ide><path>est/relative-time.js
<ide> suite('table tests', function () {
<ide> const referenceDate = new Date('2022-10-24T14:46:00.000Z')
<ide> const tests = new Set([
<add> // Same as the current time
<add> {datetime: '2022-10-24t14:46:00.000z', tense: 'future', format: 'micro', expected: '1m'},
<a... | |
JavaScript | isc | 90b43c91453ddb7f94021e04da6168cf85cfd8dd | 0 | d3/d3-interpolate | var tape = require("tape"),
color = require("d3-color"),
interpolate = require("../");
tape("interpolate(a, b) interpolates strings if b is a string and not a color", function(test) {
test.strictEqual(interpolate.interpolate("foo", "bar")(0.5), "bar");
test.end();
});
tape("interpolate(a, b) interpolates ... | test/value-test.js | var tape = require("tape"),
color = require("d3-color"),
interpolate = require("../");
tape("interpolate(a, b) interpolates strings if b is a string and not a color", function(test) {
test.strictEqual(interpolate.interpolate("foo", "bar")(0.5), "bar");
test.end();
});
tape("interpolate(a, b) interpolates ... | Add more tests for corner-cases related to valueOf/toString methods
| test/value-test.js | Add more tests for corner-cases related to valueOf/toString methods | <ide><path>est/value-test.js
<ide> test.end();
<ide> });
<ide>
<del>function noproto(properties) {
<del> return Object.assign(Object.create(null), properties);
<add>tape("interpolate(a, b) interpolates objects with numeric valueOf as numbers", function(test) {
<add> var proto = {valueOf: foo};
<add> test.deepEqua... | |
Java | apache-2.0 | 3d4ca0cb4967c304e9d7da8fbdf48a80b9b83fa6 | 0 | b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl | /*
* Copyright 2021-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... | core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/request/BaseResourceSearchRequest.java | /*
* Copyright 2021-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... | fix(filtering): Allow prefix filtering among resource settings values | core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/request/BaseResourceSearchRequest.java | fix(filtering): Allow prefix filtering among resource settings values | <ide><path>ore/com.b2international.snowowl.core/src/com/b2international/snowowl/core/request/BaseResourceSearchRequest.java
<ide> throw new IllegalArgumentException(String.format("Settings argument %s is not allowed. Expected format is propertyName#propertyValue.", property));
<ide> }
<ide> //Check if p... | |
Java | apache-2.0 | 054e775a17534eab9b9939768596c642c5b66fe3 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2017 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 agreed ... | platform/platform-api/src/com/intellij/ui/table/JBTable.java | // Copyright 2000-2017 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 agreed ... | use empty text getter instead of field access
otherwise, implementations cannot override empty text
| platform/platform-api/src/com/intellij/ui/table/JBTable.java | use empty text getter instead of field access | <ide><path>latform/platform-api/src/com/intellij/ui/table/JBTable.java
<ide> GraphicsUtil.setupAntialiasing(g);
<ide> }
<ide> super.paintComponent(g);
<del> myEmptyText.paint(this, g);
<add> getEmptyText().paint(this, g);
<ide> }
<ide>
<ide> @Override | |
Java | apache-2.0 | bd3ee1fa8b36ea410fb440e42afd51ce1b8499cc | 0 | infinispan/infinispan-hadoop,gustavonalle/infinispan-hadoop | package org.infinispan.hadoop;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import ... | core/src/test/java/org/infinispan/hadoop/InputOutputFormatTest.java | package org.infinispan.hadoop;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import ... | IHDP-2 Added test for unreachable preferred server
| core/src/test/java/org/infinispan/hadoop/InputOutputFormatTest.java | IHDP-2 Added test for unreachable preferred server | <ide><path>ore/src/test/java/org/infinispan/hadoop/InputOutputFormatTest.java
<ide> import org.apache.hadoop.io.Text;
<ide> import org.apache.hadoop.mapreduce.Job;
<ide> import org.apache.hadoop.mapreduce.JobContext;
<add>import org.apache.hadoop.mapreduce.RecordReader;
<add>import org.apache.hadoop.mapreduce.TaskAttem... | |
Java | isc | df7368b31623914d5e51f9345874bc80e5f78717 | 0 | gwenn/sqlitejdbc,gwenn/sqlitejdbc | package test;
import java.io.File;
import java.sql.*;
import org.junit.*;
import static org.junit.Assert.*;
/** These tests assume that Statements and PreparedStatements are working
* as per normal and test the interactions of commit(), rollback() and
* setAutoCommit(boolean) with multiple connections to the same... | src/test/TransactionTest.java | package test;
import java.io.File;
import java.sql.*;
import org.junit.*;
import static org.junit.Assert.*;
/** These tests assume that Statements and PreparedStatements are working
* as per normal and test the interactions of commit(), rollback() and
* setAutoCommit(boolean) with multiple connections to the same... | clean up waiting connection test
darcs-hash:20080509002521-0c629-c7987e077bf59eeb99a93c399e71fdfe9230911f.gz
| src/test/TransactionTest.java | clean up waiting connection test | <ide><path>rc/test/TransactionTest.java
<ide>
<ide> synchronized (lock) {
<ide> lock.done = true;
<add> lock.notify();
<ide> }
<ide> } }.start();
<ide>
<del> try { Thread.sleep(100); } catch (Exception e) {}
<del> rs.close();
<del>
<del> ... | |
Java | apache-2.0 | 9d1cc884ad052083fb72b4107a62b0cbe3c2a027 | 0 | apache/commons-codec,apache/commons-codec,apache/commons-codec,adrie4mac/commons-codec,mohanaraosv/commons-codec,adrie4mac/commons-codec,mohanaraosv/commons-codec,adrie4mac/commons-codec,mohanaraosv/commons-codec | /*
* 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/java/org/apache/commons/codec/language/bm/Rule.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 ... | Javadoc: use the active voice.
git-svn-id: cde5a1597f50f50feab6f72941f6b219c34291a1@1154724 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/commons/codec/language/bm/Rule.java | Javadoc: use the active voice. | <ide><path>rc/java/org/apache/commons/codec/language/bm/Rule.java
<ide> }
<ide>
<ide> /**
<del> * Attempt to compile the regex into direct string ops, falling back to Pattern and Matcher in the worst case.
<add> * Attempts to compile the regex into direct string ops, falling back to Pattern and Matcher... | |
Java | apache-2.0 | 84f35b520ff56b3dd24405f38de402f5790cb066 | 0 | SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list | /*
* Copyright 2018, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | api-java/src/test/java/io/spine/examples/todolist/q/projection/LabelledTasksViewProjectionTest.java | /*
* Copyright 2018, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | Fix wrapping.
| api-java/src/test/java/io/spine/examples/todolist/q/projection/LabelledTasksViewProjectionTest.java | Fix wrapping. | <ide><path>pi-java/src/test/java/io/spine/examples/todolist/q/projection/LabelledTasksViewProjectionTest.java
<ide>
<ide> private static final String BOUNDED_CONTEXT_NAME = "TodoListBoundedContext";
<ide>
<del> private ProjectionRepository<LabelId, LabelledTasksViewProjection,
<del> LabelledTasksVie... | |
Java | mit | 079932ba2a2c0c26965640c79247d3cf1b6faec5 | 0 | iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller... | /*
* Copyright (c) 2010 The Broad Institute
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, mer... | public/java/src/org/broadinstitute/sting/utils/MathUtils.java | /*
* Copyright (c) 2010 The Broad Institute
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, mer... | The log10cache needs to be larger if we want to handle 10K samples in the UG.
| public/java/src/org/broadinstitute/sting/utils/MathUtils.java | The log10cache needs to be larger if we want to handle 10K samples in the UG. | <ide><path>ublic/java/src/org/broadinstitute/sting/utils/MathUtils.java
<ide> public static final double JACOBIAN_LOG_TABLE_STEP = 0.1;
<ide> public static final double INV_JACOBIAN_LOG_TABLE_STEP = 1.0/JACOBIAN_LOG_TABLE_STEP;
<ide> public static final double MAX_JACOBIAN_TOLERANCE = 10.0;
<del> private... | |
Java | mit | 530d34d338335bde85bc9c426c3f0f8d83cc7483 | 0 | binaryoverload/FlareBot,weeryan17/FlareBot,FlareBot/FlareBot | package stream.flarebot.flarebot.util;
import com.arsenarsen.lavaplayerbridge.player.Player;
import com.arsenarsen.lavaplayerbridge.player.Track;
import com.sedmelluq.discord.lavaplayer.tools.FriendlyException;
import com.sedmelluq.discord.lavaplayer.track.AudioItem;
import net.dv8tion.jda.core.EmbedBuilder;
import ne... | src/main/java/stream/flarebot/flarebot/util/GeneralUtils.java | package stream.flarebot.flarebot.util;
import com.arsenarsen.lavaplayerbridge.player.Player;
import com.arsenarsen.lavaplayerbridge.player.Track;
import com.sedmelluq.discord.lavaplayer.tools.FriendlyException;
import com.sedmelluq.discord.lavaplayer.track.AudioItem;
import net.dv8tion.jda.core.EmbedBuilder;
import ne... | **Exponential** backoff
| src/main/java/stream/flarebot/flarebot/util/GeneralUtils.java | **Exponential** backoff | <ide><path>rc/main/java/stream/flarebot/flarebot/util/GeneralUtils.java
<ide> try {
<ide> Thread.sleep(backoff);
<ide> } catch (InterruptedException ignored) {}
<del> backoff *= 2;
<add> backoff ^= 2;
<ide> }
<ide> }
<... | |
Java | apache-2.0 | f29a6db9b6acea3e0dbaf810710539848eecd09a | 0 | sujaybhowmick/android-maps-utils,panzerfahrer/android-maps-utils,johnjohndoe/android-maps-utils,ifrhector/android-maps-utils,markmcd/android-maps-utils,barbeau/android-maps-utils,googlemaps/android-maps-utils,chodanunsrinil/map,h2ri/android-maps-utils,Raizlabs/android-maps-utils,googlemaps/android-maps-utils,impraveen/... | package com.google.maps.android.clustering;
import android.content.Context;
import android.os.AsyncTask;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.model.CameraPosition;
import com.google.android.gms.maps.model.Marker;
import com.google.maps.android.MarkerManager;
import com.goog... | library/src/com/google/maps/android/clustering/ClusterManager.java | package com.google.maps.android.clustering;
import android.content.Context;
import android.os.AsyncTask;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.model.CameraPosition;
import com.google.android.gms.maps.model.Marker;
import com.google.maps.android.MarkerManager;
import com.goog... | Fix bad merge.
| library/src/com/google/maps/android/clustering/ClusterManager.java | Fix bad merge. | <ide><path>ibrary/src/com/google/maps/android/clustering/ClusterManager.java
<ide> }
<ide>
<ide> /**
<del><<<<<<< HEAD
<del>=======
<ide> * Sets a callback that's invoked when a Cluster is tapped. Note: For this listener to function,
<ide> * the ClusterManager must be added as a info window click lis... | |
Java | apache-2.0 | 61ea4ae15e93711a400e9cd10eff82a77a5f2dd2 | 0 | babble/babble,babble/babble,babble/babble,babble/babble,babble/babble,babble/babble | // AppServer.java
package ed.appserver;
import ed.db.JSHook;
import java.io.*;
import java.util.*;
import ed.js.*;
import ed.js.engine.*;
import ed.log.*;
import ed.net.*;
import ed.util.*;
import ed.net.httpserver.*;
import ed.appserver.jxp.*;
import ed.security.*;
public class AppServer implements HttpHandler {
... | src/main/ed/appserver/AppServer.java | // AppServer.java
package ed.appserver;
import ed.db.JSHook;
import java.io.*;
import java.util.*;
import ed.js.*;
import ed.js.engine.*;
import ed.log.*;
import ed.net.*;
import ed.util.*;
import ed.net.httpserver.*;
import ed.appserver.jxp.*;
import ed.security.*;
public class AppServer implements HttpHandler {
... | cleaning simplifying
| src/main/ed/appserver/AppServer.java | cleaning simplifying | <ide><path>rc/main/ed/appserver/AppServer.java
<ide> return;
<ide> }
<ide>
<add> final AppContext ctxt = ar.getContext();
<add>
<ide> ar.getScope().makeThreadLocal();
<ide>
<del> final UsageTracker usage = ar.getContext()._usage;
<del> final SimpleStats stats =... | |
JavaScript | mit | 4917408f3141105fa9f4ad1c9f18edafc933ce42 | 0 | diox/web-sliding-puzzle | "use strict";
var puzzle = {
tilesCount: 4,
difficulty: 42,
height: null,
width: null,
tiles: null,
image: null,
solved: null
};
function init() {
var elm = document.getElementById('file');
if (elm.type !== 'file') {
/* For browsers without input=file, i.e. Firefox OS, we s... | sliding.js | "use strict";
var puzzle = {
tilesCount: 4,
difficulty: 42,
height: null,
width: null,
tiles: null,
image: null,
solved: null
};
function init() {
var elm = document.getElementById('file');
if (elm.type !== 'file') {
/* For browsers without input=file, i.e. Firefox OS, we s... | Remove some stray unicode garbage (probably left-overs from copy/pasting, FF was ignoring it, not Chrome)
| sliding.js | Remove some stray unicode garbage (probably left-overs from copy/pasting, FF was ignoring it, not Chrome) | <ide><path>liding.js
<ide> name: "pick",
<ide> data: {
<ide> type: ["image/png", "image/jpg", "image/jpeg"]
<del>
<del>}
<add> }
<ide> });
<ide> pick.onsuccess = function() {
<del>
<ide> // Create image and set the returned blob ... | |
Java | mit | 0eaebcbec3481a0317db851343911024e056f199 | 0 | CMPUT301F17T18/WSFMN | package com.wsfmn.habitcontroller;
import android.util.Log;
import com.wsfmn.habit.Date;
import com.wsfmn.habit.Habit;
import com.wsfmn.habit.HabitList;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
/**
* Created by musaed on 2017-11-04.
*/
public class HabitL... | app/src/main/java/com/wsfmn/habitcontroller/HabitListController.java | package com.wsfmn.habitcontroller;
import android.util.Log;
import com.wsfmn.habit.Date;
import com.wsfmn.habit.Habit;
import com.wsfmn.habit.HabitList;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
/**
* Created by musaed on 2017-11-04.
*/
public class HabitL... | update
| app/src/main/java/com/wsfmn/habitcontroller/HabitListController.java | update | <ide><path>pp/src/main/java/com/wsfmn/habitcontroller/HabitListController.java
<ide> * we call c.store to store the new habit locally.
<ide> */
<ide>
<add> private static final HabitListController ourInstance = new HabitListController();
<ide> private static HabitList habitList = null;
<ide>
<ide>
... | |
JavaScript | mit | f5392e8d1196ebca4580857fbaf3863bffb9268e | 0 | kalabox/kalabox-cli,kalabox/kalabox-cli | /**
* Module to loosely coupled shell execution.
* @module kbox.util.shell
*/
'use strict';
// Node modules
var spawn = require('child_process').spawn;
var path = require('path');
// npm modules
var _ = require('lodash');
var _shell = require('shelljs');
var windows = require('node-windows');
var esc = require('s... | lib/util/shell.js | /**
* Module to loosely coupled shell execution.
* @module kbox.util.shell
*/
'use strict';
// Node modules
var spawn = require('child_process').spawn;
var path = require('path');
// npm modules
var _ = require('lodash');
var _shell = require('shelljs');
var windows = require('node-windows');
var esc = require('s... | Fixing quote escaping.
| lib/util/shell.js | Fixing quote escaping. | <ide><path>ib/util/shell.js
<ide> case 'darwin': return [
<ide> 'osascript',
<ide> '-e',
<del> "'" + asWrap(cmdString) + "'"
<add> '\'' + asWrap(cmdString) + '\''
<ide> ].join(' ');
<ide> }
<ide> | |
Java | agpl-3.0 | f323179cbc01879a1b918c441b2354fb335fb8e8 | 0 | JanMarvin/rstudio,piersharding/rstudio,jzhu8803/rstudio,githubfun/rstudio,JanMarvin/rstudio,john-r-mcpherson/rstudio,tbarrongh/rstudio,edrogers/rstudio,JanMarvin/rstudio,jrnold/rstudio,tbarrongh/rstudio,jrnold/rstudio,thklaus/rstudio,piersharding/rstudio,pssguy/rstudio,john-r-mcpherson/rstudio,edrogers/rstudio,maligulz... | /*
* MermaidFileType.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Lice... | src/gwt/src/org/rstudio/studio/client/common/filetypes/MermaidFileType.java | /*
* MermaidFileType.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Lice... | no comment/uncomment
| src/gwt/src/org/rstudio/studio/client/common/filetypes/MermaidFileType.java | no comment/uncomment | <ide><path>rc/gwt/src/org/rstudio/studio/client/common/filetypes/MermaidFileType.java
<ide> public HashSet<AppCommand> getSupportedCommands(Commands commands)
<ide> {
<ide> HashSet<AppCommand> result = super.getSupportedCommands(commands);
<del> result.add(commands.commentUncomment());
<ide> resu... | |
Java | apache-2.0 | dafacd5c3b80e922e156f87cc12d672212cd52a5 | 0 | apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4 | /*
* 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 ... | java/org/apache/catalina/core/ApplicationPushBuilder.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 ... | Servlet 4.0
Implement a PushBuidler TODO
Conditional requests
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1708889 13f79535-47bb-0310-9956-ffa450edef68
| java/org/apache/catalina/core/ApplicationPushBuilder.java | Servlet 4.0 Implement a PushBuidler TODO Conditional requests | <ide><path>ava/org/apache/catalina/core/ApplicationPushBuilder.java
<ide> }
<ide>
<ide> if (conditional) {
<del> // TODO conditional
<add> if (etag != null) {
<add> setHeader("if-none-match", etag);
<add> } else if (lastModified != null) {
<add> ... | |
Java | apache-2.0 | 791d683d0fbe49e9ad29719fd4eded0d1cc95492 | 0 | juhasipo/JMobster | package fi.vincit.jmobster.processor.languages.javascript;/*
* Copyright 2012 Juha Siponen
*
* 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... | src/main/java/fi/vincit/jmobster/processor/languages/javascript/JavaScriptWriter.java | package fi.vincit.jmobster.processor.languages.javascript;/*
* Copyright 2012 Juha Siponen
*
* 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... | Minor style tweaks
| src/main/java/fi/vincit/jmobster/processor/languages/javascript/JavaScriptWriter.java | Minor style tweaks | <ide><path>rc/main/java/fi/vincit/jmobster/processor/languages/javascript/JavaScriptWriter.java
<ide> * Ends block. Indents back.
<ide> * @return Writer itself for chaining writes
<ide> */
<del> public JavaScriptWriter endBlock() {;
<add> public JavaScriptWriter endBlock() {
<ide> --blocksO... | |
Java | apache-2.0 | 328969485cf164b0c646c990c12a74479864745b | 0 | xiongzheng/netty,idelpivnitskiy/netty,netty/netty,fengjiachun/netty,unei66/netty,yonglehou/netty-1,luyiisme/netty,mway08/netty,blademainer/netty,luyiisme/netty,NiteshKant/netty,huanyi0723/netty,lukw00/netty,ichaki5748/netty,artgon/netty,Apache9/netty,normanmaurer/netty,shism/netty,phlizik/netty,cnoldtree/netty,Achintha... | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker.java | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Add explaination to the javadocs to not call retain() on the request when doing the handshake. Related to [#1508]
| codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker.java | Add explaination to the javadocs to not call retain() on the request when doing the handshake. Related to [#1508] | <ide><path>odec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker.java
<ide> }
<ide>
<ide> /**
<del> * Performs the opening handshake
<del> *
<del> * @param channel
<del> * Channel
<add> * Performs the opening handshake. When call this method you... | |
Java | bsd-3-clause | a71f831d91545073c77d516c5ecda82f3525bbce | 0 | lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon | /*
* $Id: BusinessSystemsLaboratoryMetadataExtractorFactory.java,v 1.2 2014-01-22 22:05:55 ldoan Exp $
*/
/*
Copyright (c) 2000-2009 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 assoc... | plugins/src/org/lockss/plugin/businesssystemslaboratory/BusinessSystemsLaboratoryMetadataExtractorFactory.java | /*
* $Id: BusinessSystemsLaboratoryMetadataExtractorFactory.java,v 1.1 2013-11-01 18:04:06 ldoan Exp $
*/
/*
Copyright (c) 2000-2009 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 assoc... | Modified ot more specific ISSUE_PATTERN regex
git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@32192 4f837ed2-42f5-46e7-a7a5-fa17313484d4
| plugins/src/org/lockss/plugin/businesssystemslaboratory/BusinessSystemsLaboratoryMetadataExtractorFactory.java | Modified ot more specific ISSUE_PATTERN regex | <ide><path>lugins/src/org/lockss/plugin/businesssystemslaboratory/BusinessSystemsLaboratoryMetadataExtractorFactory.java
<ide> /*
<ide>
<del> * $Id: BusinessSystemsLaboratoryMetadataExtractorFactory.java,v 1.1 2013-11-01 18:04:06 ldoan Exp $
<add> * $Id: BusinessSystemsLaboratoryMetadataExtractorFactory.java,v 1.2 201... | |
Java | apache-2.0 | 91f627c3a962dee30ed1af20612ce6d2912ddf94 | 0 | cmebarrow/k3po,jfallows/k3po,StCostea/k3po,StCostea/k3po,cmebarrow/k3po,k3po/k3po,k3po/k3po,jfallows/k3po | /**
* Copyright 2007-2015, Kaazing Corporation. 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 require... | driver/src/main/java/org/kaazing/k3po/driver/internal/behavior/handler/event/ClosedHandler.java | /**
* Copyright 2007-2015, Kaazing Corporation. 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 require... | Tidy imports and comments
| driver/src/main/java/org/kaazing/k3po/driver/internal/behavior/handler/event/ClosedHandler.java | Tidy imports and comments | <ide><path>river/src/main/java/org/kaazing/k3po/driver/internal/behavior/handler/event/ClosedHandler.java
<ide> import static java.util.EnumSet.of;
<ide>
<ide> import org.jboss.netty.channel.Channel;
<del>import org.jboss.netty.channel.ChannelEvent;
<ide> import org.jboss.netty.channel.ChannelFuture;
<ide> import org.... | |
Java | agpl-3.0 | 433cf4a5f20edc678ffc4f9fca141d7393bc9ec9 | 0 | duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot | /*
* Skybot, a multipurpose discord bot
* Copyright (C) 2017 Duncan "duncte123" Sterken
*
* This program 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
... | src/main/java/ml/duncte123/skybot/BotListener.java | /*
* Skybot, a multipurpose discord bot
* Copyright (C) 2017 Duncan "duncte123" Sterken
*
* This program 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
... | Remove sysexit
| src/main/java/ml/duncte123/skybot/BotListener.java | Remove sysexit | <ide><path>rc/main/java/ml/duncte123/skybot/BotListener.java
<ide> if(event.getMessage().getContent().equals(Settings.prefix + "shutdown") && Arrays.asList(Settings.wbkxwkZPaG4ni5lm8laY).contains(event.getAuthor().getId()) ){
<ide> AirUtils.log(Level.INFO,"Initialising shutdown!!!");
<ide> ... | |
Java | apache-2.0 | 8bf5429d429de8f82c5431496656dc8a667d8e7f | 0 | parsingdata/metal,gertjanal/metal | /*
* Copyright 2013-2016 Netherlands Forensic Institute
*
* 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 appl... | core/src/main/java/io/parsingdata/metal/data/ParseGraph.java | /*
* Copyright 2013-2016 Netherlands Forensic Institute
*
* 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 appl... | #237: Resolved ReferenceEquality warning from error-prone.
| core/src/main/java/io/parsingdata/metal/data/ParseGraph.java | #237: Resolved ReferenceEquality warning from error-prone. | <ide><path>ore/src/main/java/io/parsingdata/metal/data/ParseGraph.java
<ide>
<ide> @Override
<ide> public String toString() {
<del> if (this == EMPTY) {
<add> if (this.equals(EMPTY)) {
<ide> return "pg(EMPTY)";
<ide> }
<ide> if (head == null) { | |
Java | apache-2.0 | b1655b860dda8ec4fccabf0c888828f3c552e0bd | 0 | IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl | /*
* Copyright 2017 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 ... | snomed/com.b2international.snowowl.snomed.api.rest.tests/src/com/b2international/snowowl/snomed/api/rest/SnomedClassificationRestRequests.java | /*
* Copyright 2017 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 ... | SO-1830: Remove unused query parameter | snomed/com.b2international.snowowl.snomed.api.rest.tests/src/com/b2international/snowowl/snomed/api/rest/SnomedClassificationRestRequests.java | SO-1830: Remove unused query parameter | <ide><path>nomed/com.b2international.snowowl.snomed.api.rest.tests/src/com/b2international/snowowl/snomed/api/rest/SnomedClassificationRestRequests.java
<ide>
<ide> public static ValidatableResponse getEquivalentConceptSets(IBranchPath branchPath, String classificationId) {
<ide> return givenAuthenticatedRequest(S... | |
Java | lgpl-2.1 | af21e91855b97ab08c32370000259a428ba5e0ca | 0 | RemiKoutcherawy/exist,windauer/exist,kohsah/exist,zwobit/exist,ljo/exist,jessealama/exist,hungerburg/exist,ambs/exist,MjAbuz/exist,zwobit/exist,olvidalo/exist,dizzzz/exist,wshager/exist,ambs/exist,dizzzz/exist,wolfgangmm/exist,opax/exist,MjAbuz/exist,opax/exist,olvidalo/exist,dizzzz/exist,joewiz/exist,RemiKoutcherawy/e... | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-06, Wolfgang M. Meier (meier@ifs.tu-darmstadt.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software Foundation; either ver... | src/org/exist/collections/CollectionConfiguration.java | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-06, Wolfgang M. Meier (meier@ifs.tu-darmstadt.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software Foundation; either ver... | Implementation of default group parameter in collection.xconf for new docs/collections.
svn path=/trunk/eXist/; revision=8718
| src/org/exist/collections/CollectionConfiguration.java | Implementation of default group parameter in collection.xconf for new docs/collections. | <ide><path>rc/org/exist/collections/CollectionConfiguration.java
<ide> import org.apache.log4j.Logger;
<ide> import org.exist.collections.triggers.Trigger;
<ide> import org.exist.dom.DocumentImpl;
<add>import org.exist.security.SecurityManager;
<ide> import org.exist.storage.BrokerPool;
<ide> import org.exist.storage.D... | |
JavaScript | apache-2.0 | f60456cbce41d2c00a98d6b7ea0f7fd6a01e78a5 | 0 | alibaba/weex,alibaba/weex,miomin/incubator-weex,alibaba/weex,Hanks10100/incubator-weex,alibaba/weex,miomin/incubator-weex,KalicyZhou/incubator-weex,acton393/incubator-weex,xiayun200825/weex,erha19/incubator-weex,weexteam/incubator-weex,erha19/incubator-weex,acton393/incubator-weex,erha19/incubator-weex,miomin/incubator... | /*
* 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 ... | test/scripts/util.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 ... | + [example] revert to before
| test/scripts/util.js | + [example] revert to before | <ide><path>est/scripts/util.js
<ide> return ( isRunInCI ? 60 : 10 ) * 60 * 1000;
<ide> },
<ide> getGETActionWaitTimeMills:function(){
<del> return (isRunInCI ? 5 : 1 ) * 1000;
<add> return (isRunInCI ? 120 : 5 ) * 1000;
<ide> },
<ide> diffImage,
<ide> createDriver:function(wd)... | |
Java | apache-2.0 | 46caa3057c652af9bff4d4b1afafac7208f92f99 | 0 | aldaris/wicket,Servoy/wicket,zwsong/wicket,mosoft521/wicket,klopfdreh/wicket,topicusonderwijs/wicket,bitstorm/wicket,mosoft521/wicket,AlienQueen/wicket,klopfdreh/wicket,mosoft521/wicket,apache/wicket,topicusonderwijs/wicket,selckin/wicket,mosoft521/wicket,Servoy/wicket,AlienQueen/wicket,dashorst/wicket,astrapi69/wicket... | /*
* $Id: HelloWorldApplication.java 3646 2006-01-04 13:32:14 -0800 (Wed, 04 Jan
* 2006) ivaynberg $ $Revision: 3646 $ $Date: 2006-01-04 13:32:14 -0800 (Wed, 04
* Jan 2006) $
*
* ==================================================================== Licensed
* under the Apache License, Version 2.0 (the "License");... | wicket-examples/src/main/java/wicket/examples/customresourceloading/CustomResourceLoadingApplication.java | /*
* $Id: HelloWorldApplication.java 3646 2006-01-04 13:32:14 -0800 (Wed, 04 Jan
* 2006) ivaynberg $ $Revision: 3646 $ $Date: 2006-01-04 13:32:14 -0800 (Wed, 04
* Jan 2006) $
*
* ==================================================================== Licensed
* under the Apache License, Version 2.0 (the "License");... | renamed Settings.setResourceStreamLocator to ...Factory
git-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@494975 13f79535-47bb-0310-9956-ffa450edef68
| wicket-examples/src/main/java/wicket/examples/customresourceloading/CustomResourceLoadingApplication.java | renamed Settings.setResourceStreamLocator to ...Factory | <ide><path>icket-examples/src/main/java/wicket/examples/customresourceloading/CustomResourceLoadingApplication.java
<ide> protected void init()
<ide> {
<ide> // instruct the application to use our custom resource stream locator
<del> getResourceSettings().setResourceStreamLocator(new CustomResourceStreamFactory())... | |
Java | mit | b3159c66cc95c4d1ca72db8ebe5e5879fc3ca782 | 0 | cyrax1800/ishoupbud | package com.project.ishoupbud.view.activities;
import android.content.Context;
import android.content.Intent;
import android.graphics.Rect;
import android.os.Bundle;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v4.widget.SwipeRe... | app/src/main/java/com/project/ishoupbud/view/activities/ProductActivity.java | package com.project.ishoupbud.view.activities;
import android.content.Context;
import android.content.Intent;
import android.graphics.Rect;
import android.os.Bundle;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v4.widget.SwipeRe... | block cancel when fetching product
| app/src/main/java/com/project/ishoupbud/view/activities/ProductActivity.java | block cancel when fetching product | <ide><path>pp/src/main/java/com/project/ishoupbud/view/activities/ProductActivity.java
<ide> }
<ide>
<ide> public void requestProduct() {
<add> progressDialog.setCancelable(false);
<ide> productPagerAdapter.productReviewFragment.requestReview();
<ide> Call<GenericResponse<Product>> getPr... | |
JavaScript | mit | d13788da7a1c2a4efedd8e8160342aec9e0ea0e9 | 0 | yudachi/poi,syncsyncsynchalt/poi,poooi/poi,syncsyncsynchalt/poi,poooi/poi,yudachi/poi,gnattu/poi,poooi/poi,poooi/poi,PHELiOX/poi,yudachi/poi,syncsyncsynchalt/poi,syncsyncsynchalt/poi,PHELiOX/poi,gnattu/poi | module.exports = {
presets: [
[
"env",
{
targets: {
electron: "1.8",
},
loose: true,
},
],
"stage-0",
"react",
],
plugins: [
"transform-export-extensions",
"dynamic-import-node",
"add-module-exports",
],
ignore: [],
only: [/.es$... | babel.config.js | module.exports = {
presets: [
[
"env",
{
targets: {
electron: "1.8",
},
spec: true,
},
],
"stage-0",
"react",
],
plugins: [
"transform-export-extensions",
"dynamic-import-node",
"add-module-exports",
],
ignore: [],
only: [/.es$/... | Use loose mode
| babel.config.js | Use loose mode | <ide><path>abel.config.js
<ide> targets: {
<ide> electron: "1.8",
<ide> },
<del> spec: true,
<add> loose: true,
<ide> },
<ide> ],
<ide> "stage-0", | |
Java | lgpl-2.1 | a11f45dec46efefd563af1354c99f18efbf66868 | 0 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya | //
// $Id: SceneWriter.java,v 1.3 2003/01/30 19:16:50 mdb Exp $
package com.threerings.whirled.tools.xml;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Iterator;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
import com.megginson.sax.DataWr... | src/java/com/threerings/whirled/tools/xml/SceneWriter.java | //
// $Id: SceneWriter.java,v 1.2 2001/12/05 04:45:13 mdb Exp $
package com.threerings.whirled.tools.xml;
import java.util.Iterator;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
import com.megginson.sax.DataWriter;
import com.samskivert.util.StringUtil;
import com.threerings.whirled.... | Added convenience method for writing a scene to a file using a scene
writer.
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2227 542714f4-19e9-0310-aa3c-eee0fc999fb1
| src/java/com/threerings/whirled/tools/xml/SceneWriter.java | Added convenience method for writing a scene to a file using a scene writer. | <ide><path>rc/java/com/threerings/whirled/tools/xml/SceneWriter.java
<ide> //
<del>// $Id: SceneWriter.java,v 1.2 2001/12/05 04:45:13 mdb Exp $
<add>// $Id: SceneWriter.java,v 1.3 2003/01/30 19:16:50 mdb Exp $
<ide>
<ide> package com.threerings.whirled.tools.xml;
<ide>
<add>import java.io.File;
<add>import java.io.Fi... | |
Java | apache-2.0 | cc3d692ab8cdb23ed468723d1021d0640bd390c4 | 0 | GabrielBrascher/cloudstack,GabrielBrascher/cloudstack,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,GabrielBrascher/cloudstack,jcshen007/cloudstack,wido/cloudstack,resmo/cloudstack,GabrielBrascher/cloudstack,GabrielBrascher/cloudstack,wido/... | // 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... | server/src/com/cloud/network/guru/GuestNetworkGuru.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... | Summary: Remove useless and commented code | server/src/com/cloud/network/guru/GuestNetworkGuru.java | Summary: Remove useless and commented code | <ide><path>erver/src/com/cloud/network/guru/GuestNetworkGuru.java
<ide> }
<ide>
<ide> protected abstract boolean canHandle(NetworkOffering offering, final NetworkType networkType, PhysicalNetwork physicalNetwork);
<del>/* protected boolean canHandle(NetworkOffering offering, final NetworkType networkType, f... | |
JavaScript | mit | 84d32b9ad12812a77f1fe2a377a926a2756b9aef | 0 | nfrolov/useless-warehouse | var express = require('express'),
morgan = require('morgan'),
app = express();
app.enable('case sensitive routing');
app.enable('strict routing');
app.use(morgan('short'));
app.use(express.static(__dirname + '/public'));
app.listen(process.env.PORT || 5000);
| web.js | var express = require('express'),
morgan = require('morgan'),
app = express();
app.use(morgan('short'));
app.use(express.static(__dirname + '/public'));
app.listen(process.env.PORT || 5000);
| use strict routing
| web.js | use strict routing | <ide><path>eb.js
<ide> var express = require('express'),
<ide> morgan = require('morgan'),
<ide> app = express();
<add>
<add>app.enable('case sensitive routing');
<add>app.enable('strict routing');
<ide>
<ide> app.use(morgan('short'));
<ide> app.use(express.static(__dirname + '/public')); | |
Java | mit | 9bf314b85b1e3b7f7c0e389556ea33892ea53390 | 0 | TheBusyBiscuit/GitHubWebAPI4Java | package io.github.TheBusyBiscuit.GitHubWebAPI4Java;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import com.google.gson.JsonEle... | src/io/github/TheBusyBiscuit/GitHubWebAPI4Java/GitHubWebAPI.java | package io.github.TheBusyBiscuit.GitHubWebAPI4Java;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import com.google.gson.JsonEle... | Changed User Agent | src/io/github/TheBusyBiscuit/GitHubWebAPI4Java/GitHubWebAPI.java | Changed User Agent | <ide><path>rc/io/github/TheBusyBiscuit/GitHubWebAPI4Java/GitHubWebAPI.java
<ide>
<ide> HttpURLConnection connection = (HttpURLConnection) website.openConnection();
<ide> connection.setConnectTimeout(5000);
<del> connection.addRequestProperty("User-Agent", "GitHub Web API (by TheBusyBiscuit)");
<... | |
Java | lgpl-2.1 | 18c11e90a76ae9dbef4d2d6a85f91982d7f43b7c | 0 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya | //
// $Id: Sprite.java,v 1.61 2003/01/18 03:15:14 mdb Exp $
package com.threerings.media.sprite;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.Shape;
import com.threerings.util.DirectionCodes;
import com.threerings.media.AbstractMedia;
import com.threerings.media.Log;
import com.threerings.... | src/java/com/threerings/media/sprite/Sprite.java | //
// $Id: Sprite.java,v 1.60 2003/01/17 22:57:08 mdb Exp $
package com.threerings.media.sprite;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.Shape;
import com.threerings.util.DirectionCodes;
import com.threerings.media.AbstractMedia;
import com.threerings.media.Log;
import com.threerings.... | Sprites now dispatch their events immediately rather than queueing them up
to be dispatched after tick() has been called on all sprites.
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2183 542714f4-19e9-0310-aa3c-eee0fc999fb1
| src/java/com/threerings/media/sprite/Sprite.java | Sprites now dispatch their events immediately rather than queueing them up to be dispatched after tick() has been called on all sprites. | <ide><path>rc/java/com/threerings/media/sprite/Sprite.java
<ide> //
<del>// $Id: Sprite.java,v 1.60 2003/01/17 22:57:08 mdb Exp $
<add>// $Id: Sprite.java,v 1.61 2003/01/18 03:15:14 mdb Exp $
<ide>
<ide> package com.threerings.media.sprite;
<ide>
<ide> */
<ide> protected void notifyObservers (SpriteEvent eve... | |
Java | lgpl-2.1 | 6f883f6c9c48b905ef94756b637ff88428d74e32 | 0 | phoenixctms/ctsms,phoenixctms/ctsms,phoenixctms/ctsms,phoenixctms/ctsms | package org.phoenixctms.ctsms.web.util;
import org.phoenixctms.ctsms.util.AuthorisationExceptionCodes;
public interface MessageCodes {
public static final String NOT_IMPLEMENTED = "not_implemented";
public static final String INVENTORY_NAME_PRESET = "inventory_name_preset";
public static final String CREATED = "c... | web/src/main/java/org/phoenixctms/ctsms/web/util/MessageCodes.java | package org.phoenixctms.ctsms.web.util;
import org.phoenixctms.ctsms.util.AuthorisationExceptionCodes;
public interface MessageCodes {
public static final String NOT_IMPLEMENTED = "not_implemented";
public static final String INVENTORY_NAME_PRESET = "inventory_name_preset";
public static final String CREATED = "c... | fix wrong tab label | web/src/main/java/org/phoenixctms/ctsms/web/util/MessageCodes.java | fix wrong tab label | <ide><path>eb/src/main/java/org/phoenixctms/ctsms/web/util/MessageCodes.java
<ide> public final static String TRIAL_PARTICIPATIONS_TAB_TITLE = "trial_participations_tab_title";
<ide> public final static String TRIAL_PARTICIPATIONS_TAB_TITLE_WITH_COUNT = "trial_participations_tab_title_with_count";
<ide> public final... | |
JavaScript | mit | 5036e75ead68e4df64de5c6c0c29a98a977ce933 | 0 | paololersey/mea4n-aws,paololersey/mea4n-aws,paololersey/mea4n-aws,paololersey/mea4n-aws | // set up ======================================================================
/*var express = require('express');
var app = express(); // create our app w/ express
var mongoose = require('mongoose'); // mongoose for mongodb
var port = process.env.PORT || 8080; // set the port
var database =... | app.js | // set up ======================================================================
/*var express = require('express');
var app = express(); // create our app w/ express
var mongoose = require('mongoose'); // mongoose for mongodb
var port = process.env.PORT || 8080; // set the port
var database =... | static
| app.js | static | <ide><path>pp.js
<ide> var app = express()
<ide> app.use(bodyParser.json())
<ide> app.use(bodyParser.urlencoded({ extended: false }))
<del>app.use( require('./express/static'))
<add>app.use( require('./static'))
<ide> /*app.use( require('./express/api/messageInterceptor'))
<ide> app.use( require('./express/api/operateO... | |
Java | bsd-3-clause | 185ea805918c368bdba93197615f88185b10a5de | 0 | EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal | package edu.stanford.lcls.modelmanager.dbmodel;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import xal.smf.AcceleratorSeq;
impo... | src/main/java/edu/stanford/lcls/modelmanager/dbmodel/MachineModelDetailTable.java | package edu.stanford.lcls.modelmanager.dbmodel;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.swing.JFrame;
import ... | Fixed P calculation when reading from the database.
| src/main/java/edu/stanford/lcls/modelmanager/dbmodel/MachineModelDetailTable.java | Fixed P calculation when reading from the database. | <ide><path>rc/main/java/edu/stanford/lcls/modelmanager/dbmodel/MachineModelDetailTable.java
<ide> import java.util.Collections;
<ide> import java.util.List;
<ide>
<del>import javax.swing.JFrame;
<del>
<ide> import xal.smf.AcceleratorSeq;
<del>import edu.stanford.lcls.modelmanager.view.ModelManagerFeature;
<add>import ... | |
Java | apache-2.0 | 5777023f8ee097453792707e94d5732f1967026c | 0 | tanrabad/survey,nectec-wisru/android-TanlabadSurvey,nectec-wisru/android-TanrabadSurvey | /*
* Copyright (c) 2019 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/... | app/src/main/java/org/tanrabad/survey/presenter/CheckVersionThread.java | /*
* Copyright (c) 2019 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/... | not check latest release on debug
| app/src/main/java/org/tanrabad/survey/presenter/CheckVersionThread.java | not check latest release on debug | <ide><path>pp/src/main/java/org/tanrabad/survey/presenter/CheckVersionThread.java
<ide>
<ide> import android.os.Handler;
<ide> import android.os.Message;
<del>
<ide> import org.tanrabad.survey.BuildConfig;
<ide> import org.tanrabad.survey.service.GithubReleaseService;
<ide> import org.tanrabad.survey.service.json.Gith... | |
Java | apache-2.0 | 9e62465324ed61f7129f131a44eee322040fa708 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | package icons;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
/**
* NOTE THIS FILE IS AUTO-GENERATED
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
*/
public class AntIcons {
private static Icon load(String path) {
return IconLoader.getIcon(path, AntIcons.cla... | plugins/ant/src/icons/AntIcons.java | package icons;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
/**
* NOTE THIS FILE IS AUTO-GENERATED
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
*/
public class AntIcons {
private static Icon load(String path) {
return IconLoader.getIcon(path, AntIcons.cla... | fix tests
| plugins/ant/src/icons/AntIcons.java | fix tests | <ide><path>lugins/ant/src/icons/AntIcons.java
<ide> public static final Icon AntBuildXml = load("/icons/AntBuildXml.png"); // 16x16
<ide> public static final Icon AntInstallation = load("/icons/antInstallation.png"); // 16x16
<ide> public static final Icon Build = load("/icons/build.png"); // 16x16
<del> public ... | |
Java | apache-2.0 | ad754abba33da120975cd273492a069ec972621b | 0 | scottfrederick/spring-boot,wilkinsona/spring-boot,spring-projects/spring-boot,michael-simons/spring-boot,htynkn/spring-boot,aahlenst/spring-boot,aahlenst/spring-boot,htynkn/spring-boot,dreis2211/spring-boot,dreis2211/spring-boot,dreis2211/spring-boot,aahlenst/spring-boot,vpavic/spring-boot,htynkn/spring-boot,spring-pro... | /*
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/filter/ErrorPageSecurityFilter.java | /*
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Make ErrorPageSecurityFilter compatible with Servlet 3.1
See gh-28902
| spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/filter/ErrorPageSecurityFilter.java | Make ErrorPageSecurityFilter compatible with Servlet 3.1 | <ide><path>pring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/filter/ErrorPageSecurityFilter.java
<ide> import javax.servlet.DispatcherType;
<ide> import javax.servlet.Filter;
<ide> import javax.servlet.FilterChain;
<add>import javax.servlet.FilterConfig;
<ide> import javax.servlet.Reques... | |
JavaScript | mit | e35b7d14a512ddcbf1d9486e6be772c9ea72e8d8 | 0 | ccampbell/aftershave | /* jshint node:true */
var path = require('path');
var esprima = require('esprima');
var compiler;
var Razor = (function() {
'use strict';
function _indent(count) {
count *= 4;
return new Array(++count).join(' ');
}
function _trim(string) {
return string.replace(/^\s+/, '').re... | src/razor.js | /* jshint node:true */
var path = require('path');
var esprima = require('esprima');
var compiler;
var Razor = (function() {
'use strict';
function _indent(count) {
count *= 4;
return new Array(++count).join(' ');
}
function _trim(string) {
return string.replace(/^\s+/, '').re... | Add missing semicolon
| src/razor.js | Add missing semicolon | <ide><path>rc/razor.js
<ide> undefinedVars.reverse();
<ide>
<ide> function _replaceToken(token, code) {
<del> var subString = code.substr(token.range[0])
<add> var subString = code.substr(token.range[0]);
<ide> return code.substr(0, token.range[0]) + subString.replace(... | |
Java | agpl-3.0 | e2f51beda1f699419ba65ecfc255d01d1ec2f842 | 0 | brewingagile/backoffice.brewingagile.org,brewingagile/backoffice.brewingagile.org,brewingagile/backoffice.brewingagile.org,brewingagile/backoffice.brewingagile.org | package org.brewingagile.backoffice.rest.gui;
import fj.F;
import fj.data.IO;
import fj.data.List;
import fj.data.Option;
import fj.function.Strings;
import org.brewingagile.backoffice.auth.AuthService;
import org.brewingagile.backoffice.db.operations.RegistrationsSqlMapper;
import org.brewingagile.backoffice.db.opera... | application/src/main/java/org/brewingagile/backoffice/rest/gui/ExportsRestService.java | package org.brewingagile.backoffice.rest.gui;
import fj.F;
import fj.data.IO;
import fj.data.List;
import fj.data.Option;
import fj.function.Strings;
import org.brewingagile.backoffice.auth.AuthService;
import org.brewingagile.backoffice.db.operations.RegistrationsSqlMapper;
import org.brewingagile.backoffice.db.opera... | Added email to Registrations-export.
| application/src/main/java/org/brewingagile/backoffice/rest/gui/ExportsRestService.java | Added email to Registrations-export. | <ide><path>pplication/src/main/java/org/brewingagile/backoffice/rest/gui/ExportsRestService.java
<ide> .map(reg -> {
<ide> RegistrationsSqlMapper.RegistrationTuple rt = reg.tuple;
<ide> String ticketName = reg.tickets.toList().map(x -> x.ticketName).foldLeft1((l,r) -> l + "+" + r);
<del> return es... | |
Java | mit | 7ce8af95b8461acd40fda5d61ff53cce605b23d6 | 0 | lasarobotics/FTC4290-2015,lasarobotics/FTC4290-2015 | package com.qualcomm.ftcrobotcontroller.opmodes;
import com.qualcomm.robotcore.eventloop.opmode.OpModeManager;
import com.qualcomm.robotcore.eventloop.opmode.OpModeRegister;
/**
* Register Op Modes
*/
public class FtcOpModeRegister implements OpModeRegister {
public static String robot = "4290";
/**
*... | ftc-robotcontroller/src/main/java/com/qualcomm/ftcrobotcontroller/opmodes/FtcOpModeRegister.java | package com.qualcomm.ftcrobotcontroller.opmodes;
import com.qualcomm.robotcore.eventloop.opmode.OpModeManager;
import com.qualcomm.robotcore.eventloop.opmode.OpModeRegister;
/**
* Register Op Modes
*/
public class FtcOpModeRegister implements OpModeRegister {
public static String robot = "4290";
/**
*... | A file disappeared... ah well :/
| ftc-robotcontroller/src/main/java/com/qualcomm/ftcrobotcontroller/opmodes/FtcOpModeRegister.java | A file disappeared... ah well :/ | <ide><path>tc-robotcontroller/src/main/java/com/qualcomm/ftcrobotcontroller/opmodes/FtcOpModeRegister.java
<ide>
<ide> public void register(OpModeManager manager) {
<ide> if (robot.equals("4290")) {
<del> manager.register("TeleOp", TeleOp.class);
<del> manager.register("Red", AutoRed.... | |
Java | apache-2.0 | f57b002ad1fae8ce512c98f804790bee2efbc975 | 0 | hellojavaer/ddal,hellojavaer/ddr | package org.hellojavaer.ddal.sequence;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
/**
... | ddal-sequence/src/main/java/org/hellojavaer/ddal/sequence/SummedBlockingQueue.java | package org.hellojavaer.ddal.sequence;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
/**
... | update SingleSequence
| ddal-sequence/src/main/java/org/hellojavaer/ddal/sequence/SummedBlockingQueue.java | update SingleSequence | <ide><path>dal-sequence/src/main/java/org/hellojavaer/ddal/sequence/SummedBlockingQueue.java
<ide> public AtomicLong getCounter() {
<ide> return counter;
<ide> }
<add> }
<add>
<add> public void put(IdRange idRange) throws InterruptedException {
<add> if (idRange.getEndValue() < ... | |
Java | apache-2.0 | 8d0493990117bc3c9ff92efbd510f42b83ab9c2b | 0 | openwms/org.openwms,openwms/org.openwms | /*
* openwms.org, the Open Warehouse Management System.
*
* This file is part of openwms.org.
*
* openwms.org 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 3 of the
* License, ... | org.openwms/trunk/org.openwms.core/org.openwms.core.integration.file/src/main/java/org/openwms/core/integration/file/PreferencesDaoImpl.java | /*
* openwms.org, the Open Warehouse Management System.
*
* This file is part of openwms.org.
*
* openwms.org 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 3 of the
* License, ... | Added method to find preferences for owners
git-svn-id: 27326a786375daad9d33dc990c6f272e4c8f567c@1635 fda5f131-174c-0410-8613-e0905860106b
| org.openwms/trunk/org.openwms.core/org.openwms.core.integration.file/src/main/java/org/openwms/core/integration/file/PreferencesDaoImpl.java | Added method to find preferences for owners | <ide><path>rg.openwms/trunk/org.openwms.core/org.openwms.core.integration.file/src/main/java/org/openwms/core/integration/file/PreferencesDaoImpl.java
<ide> import org.openwms.core.integration.exception.ResourceNotFoundException;
<ide> import org.openwms.core.util.event.PropertiesChangedEvent;
<ide> import org.springfr... | |
Java | agpl-3.0 | 81ac11332a41ead6dbcaa491ff48cadf05de4e7f | 0 | jschnasse/katalog,hbz/zettel,jschnasse/katalog,hbz/zettel,hbz/zettel,jschnasse/katalog,hbz/zettel | /*Copyright (c) 2016 "hbz"
This file is part of zettel.
etikett 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 version.
This program is dis... | app/services/ResearchDataHelper.java | /*Copyright (c) 2016 "hbz"
This file is part of zettel.
etikett 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 version.
This program is dis... | change mapping of professionalGroup to unesco vocab
| app/services/ResearchDataHelper.java | change mapping of professionalGroup to unesco vocab | <ide><path>pp/services/ResearchDataHelper.java
<ide> public static LinkedHashMap<String, String> getProfessionalGroupMap() {
<ide> LinkedHashMap<String, String> map = new LinkedHashMap<>();
<ide> map.put("Choose a value!", null);
<del> map.put("http://d-nb.info/gnd/4038243-6", "Medizin");
<del> map.put("http://d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.